Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 6ff4cab9ac538951e946b95ebfa111b85d1f6f2d..39e239a1cbf9ad82910ef1ee7ca659ea694ea027 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -138,17 +138,16 @@ bool LCodeGen::GeneratePrologue() { |
// function calls. |
if (!info_->is_classic_mode() || info_->is_native()) { |
Label ok; |
- Label begin; |
- __ bind(&begin); |
__ cmp(r5, Operand(0)); |
__ b(eq, &ok); |
int receiver_offset = scope()->num_parameters() * kPointerSize; |
__ LoadRoot(r2, Heap::kUndefinedValueRootIndex); |
__ str(r2, MemOperand(sp, receiver_offset)); |
__ bind(&ok); |
- ASSERT_EQ(kSizeOfOptimizedStrictModePrologue, ok.pos() - begin.pos()); |
} |
+ |
+ info()->set_prologue_offset(masm_->pc_offset()); |
// The following three instructions must remain together and unmodified for |
// code aging to work properly. |
__ stm(db_w, sp, r1.bit() | cp.bit() | fp.bit() | lr.bit()); |