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 | ab77b05d8ca918705f6403129f9467adbf3eac48 (patch) | |
tree | b3631e47bdd2fd0606faa94d4676b3a39f8a1181 /llvm/lib/CodeGen/VirtRegMap.h | |
parent | c794a9060f0aea1caf7b292fa703a06a050ce73d (diff) | |
download | bcm5719-llvm-ab77b05d8ca918705f6403129f9467adbf3eac48.tar.gz bcm5719-llvm-ab77b05d8ca918705f6403129f9467adbf3eac48.zip |
Remove '4Virt' from member function names as it is obvious.
llvm-svn: 11781
Diffstat (limited to 'llvm/lib/CodeGen/VirtRegMap.h')
-rw-r--r-- | llvm/lib/CodeGen/VirtRegMap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/VirtRegMap.h b/llvm/lib/CodeGen/VirtRegMap.h index 1c593d35f31..f0eb0982a78 100644 --- a/llvm/lib/CodeGen/VirtRegMap.h +++ b/llvm/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)]; } |