mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Silence a warning.
llvm-svn: 54462
This commit is contained in:
parent
212df90ce5
commit
2ba1b80c7f
@ -185,7 +185,7 @@ namespace llvm {
|
||||
/// of instructions in a given LiveInterval.
|
||||
unsigned getApproximateInstructionCount(LiveInterval& I) {
|
||||
double IntervalPercentage = getScaledIntervalSize(I) / 1000.0;
|
||||
return IntervalPercentage * FunctionSize;
|
||||
return (unsigned)(IntervalPercentage * FunctionSize);
|
||||
}
|
||||
|
||||
/// getMBBFromIndex - given an index in any instruction of an
|
||||
|
Loading…
Reference in New Issue
Block a user