summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-02 22:00:32 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-02 22:00:32 +0000
commit6e3420565391231ce9bfa49fd200e7108385e353 (patch)
treea5d12f81433cffee081b12fcb845a85a8fa4f21f /llvm/lib/CodeGen
parent6471e66fbbd27f66054530eb95b84e55e7d57f52 (diff)
downloadbcm5719-llvm-6e3420565391231ce9bfa49fd200e7108385e353.tar.gz
bcm5719-llvm-6e3420565391231ce9bfa49fd200e7108385e353.zip
Fix debugging output.
llvm-svn: 11088
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index 69c3120275e..26c1417fa0f 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
@@ -443,7 +443,7 @@ bool RA::runOnMachineFunction(MachineFunction &fn) {
unsigned virtReg = op.getAllocatedRegNum();
Virt2PhysMap::const_iterator it = v2pMap_.find(virtReg);
if (it != v2pMap_.end()) {
- DEBUG(std::cerr << "\t\t\t%reg" << it->second
+ DEBUG(std::cerr << "\t\t\t%reg" << it->first
<< " -> " << mri_->getName(it->second) << '\n');
(*currentInstr_)->SetMachineOperandReg(i, it->second);
}
OpenPOWER on IntegriCloud