Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index a73d6a2d87dfef7016436f8391672da638103ceb..e7ec59cfa89d39d11270f1664d8342511351b954 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -121,13 +121,10 @@ bool LCodeGen::GeneratePrologue() { |
// receiver object). r5 is zero for method calls and non-zero for |
// function calls. |
if (!info_->is_classic_mode() || info_->is_native()) { |
- Label ok; |
__ cmp(r5, Operand::Zero()); |
- __ b(eq, &ok); |
int receiver_offset = scope()->num_parameters() * kPointerSize; |
__ LoadRoot(r2, Heap::kUndefinedValueRootIndex); |
- __ str(r2, MemOperand(sp, receiver_offset)); |
- __ bind(&ok); |
+ __ str(r2, MemOperand(sp, receiver_offset), ne); |
} |
} |