diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-13 21:01:20 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-13 21:01:20 +0000 |
commit | 8cdd0215bf004968dffc50c73c9aaa19cee5822c (patch) | |
tree | 83a48d75e47bb8cf4445366cc9561a5f75e34c0e /llvm/lib/CodeGen/RegAllocLinearScan.cpp | |
parent | ef9d025ebedc5495b17ba41cb6f3d12bf29af022 (diff) | |
download | bcm5719-llvm-8cdd0215bf004968dffc50c73c9aaa19cee5822c.tar.gz bcm5719-llvm-8cdd0215bf004968dffc50c73c9aaa19cee5822c.zip |
Remove getAllocatedRegNum(). Use getReg() instead.
llvm-svn: 11393
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index b9d6f0846fe..d26ee8f8c57 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -443,7 +443,7 @@ bool RA::runOnMachineFunction(MachineFunction &fn) { MachineOperand& op = currentInstr_->getOperand(i); if (op.isRegister() && op.isUse() && MRegisterInfo::isVirtualRegister(op.getReg())) { - unsigned virtReg = op.getAllocatedRegNum(); + unsigned virtReg = op.getReg(); unsigned physReg = 0; Virt2PhysMap::iterator it = v2pMap_.find(virtReg); if (it != v2pMap_.end()) { |