| Index: src/arm/fast-codegen-arm.cc
|
| diff --git a/src/arm/fast-codegen-arm.cc b/src/arm/fast-codegen-arm.cc
|
| index 1029609f1a89baf9233c2cec583a7b9f43e6b112..a07b0d2dcbe0b7fc6244f3604e36313695c39a6b 100644
|
| --- a/src/arm/fast-codegen-arm.cc
|
| +++ b/src/arm/fast-codegen-arm.cc
|
| @@ -156,13 +156,9 @@ void FastCodeGenerator::EmitBitOr() {
|
| } else {
|
| // Preserve the destination operand in a scratch register in case of
|
| // bailout.
|
| - Label done;
|
| __ mov(scratch0(), destination());
|
| __ orr(destination(), accumulator1(), Operand(accumulator0()));
|
| - __ BranchOnSmi(destination(), &done);
|
| - __ mov(destination(), scratch0());
|
| - __ jmp(bailout());
|
| - __ bind(&done);
|
| + __ BranchOnNotSmi(destination(), bailout());
|
| }
|
|
|
| // If we didn't bailout, the result (in fact, both inputs too) is known to
|
|
|