OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c62728
)
Only call verifySavedState if SaveRegAllocState is set AND debugging flag is on.
author
Brian Gaeke
<gaeke@uiuc.edu>
Wed, 10 Mar 2004 22:01:59 +0000
(22:01 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Wed, 10 Mar 2004 22:01:59 +0000
(22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12277
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
index
7c30ca9
..
9682c81
100644
(file)
--- a/
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
+++ b/
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
@@
-1355,10
+1355,11
@@
bool PhyRegAlloc::runOnFunction (Function &F) {
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