From a12c7bb06f42fe41f09a1addafcf8c126e673ff3 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Fri, 16 Jan 2004 20:33:13 +0000 Subject: [PATCH] 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 --- lib/CodeGen/RegAllocLinearScan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index 8712e98d850..449fc4ed30a 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'; } }