[llvm-commits] CVS: llvm/lib/CodeGen/VirtRegMap.h
Alkis Evlogimenos
alkis at niobe.cs.uiuc.edu
Mon Feb 23 17:50:01 PST 2004
Changes in directory llvm/lib/CodeGen:
VirtRegMap.h updated: 1.2 -> 1.3
---
Log message:
Make enum private as it is an implementation detail.
---
Diffs of the changes: (+5 -5)
Index: llvm/lib/CodeGen/VirtRegMap.h
diff -u llvm/lib/CodeGen/VirtRegMap.h:1.2 llvm/lib/CodeGen/VirtRegMap.h:1.3
--- llvm/lib/CodeGen/VirtRegMap.h:1.2 Mon Feb 23 17:47:10 2004
+++ llvm/lib/CodeGen/VirtRegMap.h Mon Feb 23 17:49:40 2004
@@ -29,11 +29,6 @@
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_;
@@ -49,6 +44,11 @@
static unsigned fromIndex(unsigned index) {
return index + MRegisterInfo::FirstVirtualRegister;
}
+
+ enum {
+ NO_PHYS_REG = 0,
+ NO_STACK_SLOT = INT_MAX
+ };
public:
VirtRegMap(MachineFunction& mf)
More information about the llvm-commits
mailing list