aboutsummaryrefslogtreecommitdiffstats
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
commita12c7bb06f42fe41f09a1addafcf8c126e673ff3 (patch)
treec029997152cad3211f81b11751cb3273b9216976
parenta6d8c3f8456e05b3bf0b42aa8050912ce7e92c07 (diff)
downloadexternal_llvm-a12c7bb06f42fe41f09a1addafcf8c126e673ff3.zip
external_llvm-a12c7bb06f42fe41f09a1addafcf8c126e673ff3.tar.gz
external_llvm-a12c7bb06f42fe41f09a1addafcf8c126e673ff3.tar.bz2
Handle printing of intervals that are not assign to any physical
register yet (2nd try). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10896 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index 8712e98..449fc4e 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/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';
}
}