summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-16 20:33:13 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-16 20:33:13 +0000
commitd8449725747338f294239d7f8dac94fbc09637c8 (patch)
tree89bd3ca67e4ebf886756c81dc53d3470dc072143 /llvm/lib
parent8672af1cc88245193bc8bd385d47bc63e4ea7ad8 (diff)
downloadbcm5719-llvm-d8449725747338f294239d7f8dac94fbc09637c8.tar.gz
bcm5719-llvm-d8449725747338f294239d7f8dac94fbc09637c8.zip
Handle printing of intervals that are not assign to any physical
register yet (2nd try). llvm-svn: 10896
Diffstat (limited to 'llvm/lib')
-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 8712e98d850..449fc4ed30a 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
@@ -173,7 +173,7 @@ namespace {
Virt2PhysMap::const_iterator it = v2pMap_.find(reg);
reg = (it == v2pMap_.end() ? 0 : it->second);
}
- std::cerr << mri_->getName((*i)->reg) << '\n';
+ std::cerr << mri_->getName(reg) << '\n';
}
}
OpenPOWER on IntegriCloud