Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index e137ab67b4266c1bc8a4d4a11cf1e6ed31fc83df..159c2cabcc928d6c36d8bfccfeb81738825a573d 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -151,7 +151,8 @@ void FullCodeGenerator::Generate() { |
__ mov(Operand(esp, receiver_offset), |
Immediate(isolate()->factory()->undefined_value())); |
__ bind(&ok); |
- ASSERT_EQ(kSizeOfFullCodegenStrictModePrologue, ok.pos() - start.pos()); |
+ ASSERT(!FLAG_age_code || |
+ (kSizeOfFullCodegenStrictModePrologue == ok.pos() - start.pos())); |
} |
// Open a frame scope to indicate that there is a frame on the stack. The |