1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Make enum private as it is an implementation detail.

llvm-svn: 11782
This commit is contained in:
Alkis Evlogimenos 2004-02-23 23:49:40 +00:00
parent 9344a740be
commit 0d0db88889

View File

@ -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),