aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp')
-rw-r--r--lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp
index c137e67..a4c3aab 100644
--- a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp
+++ b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.cpp
@@ -36,6 +36,11 @@ void LiveRangeInfo::unionAndUpdateLRs(LiveRange *const L1, LiveRange *L2)
if(L2->hasSuggestedColor())
L1->setSuggestedColor( L2->getSuggestedColor() );
+
+ if( L2->isCallInterference() )
+ L1->setCallInterference();
+
+
delete ( L2 ); // delete L2 as it is no longer needed
}