aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/VirtRegMap.h
diff options
context:
space:
mode:
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 f0eb0982a7..90bd2af4e7 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),