projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eea81ba
)
Fix debugging output.
author
Alkis Evlogimenos
<alkis@evlogimenos.com>
Mon, 2 Feb 2004 22:00:32 +0000
(22:00 +0000)
committer
Alkis Evlogimenos
<alkis@evlogimenos.com>
Mon, 2 Feb 2004 22:00:32 +0000
(22:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11088
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocLinearScan.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocLinearScan.cpp
b/lib/CodeGen/RegAllocLinearScan.cpp
index 69c3120275e9486190094b44a500643aa96f8ccc..26c1417fa0fa6d0be1be01be8f9eda850a23bca7 100644
(file)
--- a/
lib/CodeGen/RegAllocLinearScan.cpp
+++ b/
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);
}