From e8124b9ddb332c8db5c9961323e6da3daf7251a3 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Mon, 23 Feb 2004 23:49:40 +0000 Subject: [PATCH] Make enum private as it is an implementation detail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11782 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/VirtRegMap.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/CodeGen/VirtRegMap.h b/lib/CodeGen/VirtRegMap.h index f0eb0982a78..90bd2af4e74 100644 --- a/lib/CodeGen/VirtRegMap.h +++ b/lib/CodeGen/VirtRegMap.h @@ -29,11 +29,6 @@ namespace llvm { typedef std::vector Virt2PhysMap; typedef std::vector Virt2StackSlotMap; - enum { - NO_PHYS_REG = 0, - NO_STACK_SLOT = INT_MAX - }; - private: MachineFunction* mf_; Virt2PhysMap v2pMap_; @@ -50,6 +45,11 @@ namespace llvm { return index + MRegisterInfo::FirstVirtualRegister; } + enum { + NO_PHYS_REG = 0, + NO_STACK_SLOT = INT_MAX + }; + public: VirtRegMap(MachineFunction& mf) : mf_(&mf), -- 2.34.1