projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rewrote uses of deprecated `MachineFunction::get(BasicBlock *BB)'.
[oota-llvm.git]
/
lib
/
Target
/
SparcV9
/
RegAlloc
/
RegClass.cpp
diff --git
a/lib/Target/SparcV9/RegAlloc/RegClass.cpp
b/lib/Target/SparcV9/RegAlloc/RegClass.cpp
index b92b70997baa788bb0198f7c8376ed1d35d87f5a..788921ba019f0417be1dd9e99d57d4a1c3ab6871 100644
(file)
--- a/
lib/Target/SparcV9/RegAlloc/RegClass.cpp
+++ b/
lib/Target/SparcV9/RegAlloc/RegClass.cpp
@@
-158,7
+158,7
@@
IGNode * RegClass::getIGNodeWithMinSpillCost()
{
unsigned int IGNodeListSize = IG.getIGNodeList().size();
- double MinSpillCost;
+ double MinSpillCost
= 0
;
IGNode *MinCostIGNode = NULL;
bool isFirstNode = true;