[llvm-commits] CVS: llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Wed Mar 10 16:03:02 PST 2004
Changes in directory llvm/lib/Target/SparcV9/RegAlloc:
PhyRegAlloc.cpp updated: 1.140 -> 1.141
---
Log message:
Only call verifySavedState if SaveRegAllocState is set AND debugging flag is on.
---
Diffs of the changes: (+4 -3)
Index: llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
diff -u llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp:1.140 llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp:1.141
--- llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp:1.140 Mon Mar 8 17:22:02 2004
+++ llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp Wed Mar 10 16:01:59 2004
@@ -1355,10 +1355,11 @@
colorIncomingArgs();
// Save register allocation state for this function in a Constant.
- if (SaveRegAllocState)
+ if (SaveRegAllocState) {
saveState();
- if (DEBUG_RA) { // Check our work.
- verifySavedState ();
+ if (DEBUG_RA) { // Check our work.
+ verifySavedState ();
+ }
}
// Now update the machine code with register names and add any additional
More information about the llvm-commits
mailing list