commit | 6a3db8c117b75ebd87d5e7fff213570230d6c436 | [log] [tgz] |
---|---|---|
author | Ruchira Sasanka <sasanka@students.uiuc.edu> | Mon Jan 07 21:09:06 2002 +0000 |
committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | Mon Jan 07 21:09:06 2002 +0000 |
tree | a25440480393fb2174731158641caad9e16cebe4 | |
parent | bf915524a1323c4495a1b97532ecc38c8ce4204c [diff] [blame] |
PhyRegAlloc.cpp: Added temp area resetting before every call git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1499 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV9/RegAlloc/RegClass.cpp b/lib/Target/SparcV9/RegAlloc/RegClass.cpp index 2246643..3ee79e3 100644 --- a/lib/Target/SparcV9/RegAlloc/RegClass.cpp +++ b/lib/Target/SparcV9/RegAlloc/RegClass.cpp
@@ -165,7 +165,7 @@ if( ! IGNode->isOnStack() ) { - unsigned SpillCost = IGNode->getParentLR()->getSpillCost(); + long SpillCost = (long) IGNode->getParentLR()->getSpillCost(); if( MinSpillCost == -1) { // for the first IG node MinSpillCost = SpillCost;