Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 1d4ed5f32956b43d0ae4b72a6015774c29076374..78adbfa6630ec9771e75eb16cd7c092b7f157688 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1404,19 +1404,6 @@ bool LChunkBuilder::HasMagicNumberForDivisor(int32_t divisor) { |
} |
-HValue* LChunkBuilder::SimplifiedDividendForMathFloorOfDiv(HValue* dividend) { |
- // A value with an integer representation does not need to be transformed. |
- if (dividend->representation().IsInteger32()) { |
- return dividend; |
- // A change from an integer32 can be replaced by the integer32 value. |
- } else if (dividend->IsChange() && |
- HChange::cast(dividend)->from().IsInteger32()) { |
- return HChange::cast(dividend)->value(); |
- } |
- return NULL; |
-} |
- |
- |
HValue* LChunkBuilder::SimplifiedDivisorForMathFloorOfDiv(HValue* divisor) { |
if (CpuFeatures::IsSupported(SUDIV)) { |
// A value with an integer representation does not need to be transformed. |