From: Alkis Evlogimenos Date: Fri, 16 Jan 2004 20:33:13 +0000 (+0000) Subject: Handle printing of intervals that are not assign to any physical X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a12c7bb06f42fe41f09a1addafcf8c126e673ff3;p=oota-llvm.git 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 --- 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'; } }