[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Fri Jan 16 14:34:01 PST 2004


Changes in directory llvm/lib/CodeGen:

RegAllocLinearScan.cpp updated: 1.30 -> 1.31

---
Log message:

Handle printing of intervals that are not assign to any physical
register yet (2nd try).


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.30 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.31
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.30	Fri Jan 16 14:29:42 2004
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp	Fri Jan 16 14:33:13 2004
@@ -173,7 +173,7 @@
                     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';
             }
         }
 





More information about the llvm-commits mailing list