diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 6916e96..c3a15fc 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -156,7 +156,7 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) { LiveInterval &RegInt = getInterval(reg); RegInt.weight += - (mop.isUse() + mop.isDef()) * pow(10.0F, loopDepth); + (mop.isUse() + mop.isDef()) * pow(10.0F, (int)loopDepth); } } ++mii; |