| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 929d04de13aa693065ad37067d8645266eed2300..5f5ce07476b8fede0643f56f7395e731a1001efb 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -1744,7 +1744,9 @@ void LCodeGen::DoShiftI(LShiftI* instr) {
|
| if (shift_count != 0) {
|
| if (instr->hydrogen_value()->representation().IsSmi() &&
|
| instr->can_deopt()) {
|
| - __ mov(result, Operand(left, LSL, shift_count - 1));
|
| + if (shift_count != 1) {
|
| + __ mov(result, Operand(left, LSL, shift_count - 1));
|
| + }
|
| __ SmiTag(result, result, SetCC);
|
| DeoptimizeIf(vs, instr->environment());
|
| } else {
|
|
|