| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index d49f8428a603fd929a325bafad9f7e51aea8731b..6bb1a2ed1e12cea5d965edbe39b3f3c8ac05021c 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -4702,7 +4702,8 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) {
|
| Handle<Code> ic = CompareIC::GetUninitialized(isolate(), op);
|
| CallIC(ic, RelocInfo::CODE_TARGET, expr->CompareOperationFeedbackId());
|
| patch_site.EmitPatchInfo();
|
| - PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
|
| +
|
| + if (!context()->IsEffect()) PrepareForBailout(expr, TOS_REG);
|
| __ cmp(r0, Operand::Zero());
|
| Split(cond, if_true, if_false, fall_through);
|
| }
|
|
|