diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-23 23:49:40 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-23 23:49:40 +0000 |
commit | 8b571a64ac79e8bac14034ff882facc278fef312 (patch) | |
tree | 4b5226cf88276ecfb47feabe52ef85dddd72270b /llvm/lib/CodeGen/VirtRegMap.h | |
parent | ab77b05d8ca918705f6403129f9467adbf3eac48 (diff) | |
download | bcm5719-llvm-8b571a64ac79e8bac14034ff882facc278fef312.tar.gz bcm5719-llvm-8b571a64ac79e8bac14034ff882facc278fef312.zip |
Make enum private as it is an implementation detail.
llvm-svn: 11782
Diffstat (limited to 'llvm/lib/CodeGen/VirtRegMap.h')
-rw-r--r-- | llvm/lib/CodeGen/VirtRegMap.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/VirtRegMap.h b/llvm/lib/CodeGen/VirtRegMap.h index f0eb0982a78..90bd2af4e74 100644 --- a/llvm/lib/CodeGen/VirtRegMap.h +++ b/llvm/lib/CodeGen/VirtRegMap.h @@ -29,11 +29,6 @@ namespace llvm { typedef std::vector<unsigned> Virt2PhysMap; typedef std::vector<int> 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), |