diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-23 23:47:10 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-23 23:47:10 +0000 |
commit | 797428719f7001086b3c308b71c89cfca77d52b7 (patch) | |
tree | cb31495b1c051937afb62b5e8d90cb121b1e74cf /lib/CodeGen/VirtRegMap.h | |
parent | 34d9bc9f168d17c52eb57e024580bd9499695f91 (diff) | |
download | external_llvm-797428719f7001086b3c308b71c89cfca77d52b7.zip external_llvm-797428719f7001086b3c308b71c89cfca77d52b7.tar.gz external_llvm-797428719f7001086b3c308b71c89cfca77d52b7.tar.bz2 |
Remove '4Virt' from member function names as it is obvious.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11781 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.h')
-rw-r--r-- | lib/CodeGen/VirtRegMap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/VirtRegMap.h b/lib/CodeGen/VirtRegMap.h index 1c593d3..f0eb098 100644 --- a/lib/CodeGen/VirtRegMap.h +++ b/lib/CodeGen/VirtRegMap.h @@ -28,7 +28,7 @@ namespace llvm { public: typedef std::vector<unsigned> Virt2PhysMap; typedef std::vector<int> Virt2StackSlotMap; - + enum { NO_PHYS_REG = 0, NO_STACK_SLOT = INT_MAX @@ -57,7 +57,7 @@ namespace llvm { v2ssMap_(mf.getSSARegMap()->getNumVirtualRegs(), NO_STACK_SLOT) { } - unsigned getPhys4Virt(unsigned virtReg) const { + unsigned getPhys(unsigned virtReg) const { assert(MRegisterInfo::isVirtualRegister(virtReg)); return v2pMap_[toIndex(virtReg)]; } @@ -78,7 +78,7 @@ namespace llvm { v2pMap_[toIndex(virtReg)] = NO_PHYS_REG; } - int getStackSlot4Virt(unsigned virtReg) const { + int getStackSlot(unsigned virtReg) const { assert(MRegisterInfo::isVirtualRegister(virtReg)); return v2ssMap_[toIndex(virtReg)]; } |