mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
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
This commit is contained in:
@@ -165,7 +165,7 @@ IGNode * RegClass::getIGNodeWithMinSpillCost()
|
||||
|
||||
if( ! IGNode->isOnStack() ) {
|
||||
|
||||
unsigned SpillCost = IGNode->getParentLR()->getSpillCost();
|
||||
long SpillCost = (long) IGNode->getParentLR()->getSpillCost();
|
||||
|
||||
if( MinSpillCost == -1) { // for the first IG node
|
||||
MinSpillCost = SpillCost;
|
||||
|
Reference in New Issue
Block a user