| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index b4b44521cd0c0a4dd3227a455b3683f0b4b6f2fa..06942ba38d42f5f148759c4b33d27417579d5ece 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1354,25 +1354,6 @@ LInstruction* LChunkBuilder::DoDiv(HDiv* instr) {
|
| }
|
|
|
|
|
| -HValue* LChunkBuilder::SimplifiedDivisorForMathFloorOfDiv(HValue* divisor) {
|
| - if (divisor->IsConstant() &&
|
| - HConstant::cast(divisor)->HasInteger32Value()) {
|
| - HConstant* constant_val = HConstant::cast(divisor);
|
| - return constant_val->CopyToRepresentation(Representation::Integer32(),
|
| - divisor->block()->zone());
|
| - }
|
| - // A value with an integer representation does not need to be transformed.
|
| - if (divisor->representation().IsInteger32()) {
|
| - return divisor;
|
| - // A change from an integer32 can be replaced by the integer32 value.
|
| - } else if (divisor->IsChange() &&
|
| - HChange::cast(divisor)->from().IsInteger32()) {
|
| - return HChange::cast(divisor)->value();
|
| - }
|
| - return NULL;
|
| -}
|
| -
|
| -
|
| LInstruction* LChunkBuilder::DoMathFloorOfDiv(HMathFloorOfDiv* instr) {
|
| HValue* right = instr->right();
|
| if (!right->IsConstant()) {
|
|
|