Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 216872d0c0ee73b1c5c7939e55673b70721fa16e..bd7bea6ffc3458158d21ffb4cd5315517e51bf00 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1471,19 +1471,6 @@ LInstruction* LChunkBuilder::DoDiv(HDiv* instr) { |
} |
-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 (divisor->IsConstant() && |
HConstant::cast(divisor)->HasInteger32Value()) { |