Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 1bad96e278b356c207382badb7bb341fb0a3036d..a198739a4244b420a404fe0483308898ecc2e3bd 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -147,7 +147,8 @@ void FullCodeGenerator::Generate() { |
__ LoadRoot(kScratchRegister, Heap::kUndefinedValueRootIndex); |
__ movq(Operand(rsp, receiver_offset), kScratchRegister); |
__ bind(&ok); |
- ASSERT_EQ(kSizeOfFullCodegenStrictModePrologue, ok.pos() - begin.pos()); |
+ ASSERT(!FLAG_age_code || |
+ (kSizeOfFullCodegenStrictModePrologue == ok.pos() - begin.pos())); |
} |
// Open a frame scope to indicate that there is a frame on the stack. The |