aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/VirtRegMap.h
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-23 23:49:40 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-23 23:49:40 +0000
commite8124b9ddb332c8db5c9961323e6da3daf7251a3 (patch)
treeab01995b36a400390d319a4734c39da38fba517d /lib/CodeGen/VirtRegMap.h
parent797428719f7001086b3c308b71c89cfca77d52b7 (diff)
downloadexternal_llvm-e8124b9ddb332c8db5c9961323e6da3daf7251a3.zip
external_llvm-e8124b9ddb332c8db5c9961323e6da3daf7251a3.tar.gz
external_llvm-e8124b9ddb332c8db5c9961323e6da3daf7251a3.tar.bz2
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
Diffstat (limited to 'lib/CodeGen/VirtRegMap.h')
-rw-r--r--lib/CodeGen/VirtRegMap.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/CodeGen/VirtRegMap.h b/lib/CodeGen/VirtRegMap.h
index f0eb098..90bd2af 100644
--- a/lib/CodeGen/VirtRegMap.h
+++ b/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),