Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 67874125138b12f6bc33f4348296b92642812dd3..4596aca2f7628e78bdd4bcc0d84bd5129abd348a 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -143,7 +143,8 @@ bool LCodeGen::GeneratePrologue() { |
__ LoadRoot(kScratchRegister, Heap::kUndefinedValueRootIndex); |
__ movq(Operand(rsp, receiver_offset), kScratchRegister); |
__ bind(&ok); |
- ASSERT_EQ(kSizeOfOptimizedStrictModePrologue, ok.pos() - begin.pos()); |
+ ASSERT(!FLAG_age_code || |
+ (kSizeOfOptimizedStrictModePrologue == ok.pos() - begin.pos())); |
} |
__ push(rbp); // Caller's frame pointer. |