Index: src/lithium.cc |
diff --git a/src/lithium.cc b/src/lithium.cc |
index 2265353f4736a2c7fc2c386ad6f58a84a53c6dcf..c6d64135c32d8d513753d2980ecbce1fccb83cb1 100644 |
--- a/src/lithium.cc |
+++ b/src/lithium.cc |
@@ -5,6 +5,7 @@ |
#include "v8.h" |
#include "lithium.h" |
#include "scopes.h" |
+#include "serialize.h" |
#if V8_TARGET_ARCH_IA32 |
#include "ia32/lithium-ia32.h" |
@@ -449,6 +450,9 @@ Handle<Code> LChunk::Codegen() { |
CodeEndLinePosInfoRecordEvent(*code, jit_handler_data)); |
CodeGenerator::PrintCode(code, info()); |
+ ASSERT(!(Serializer::enabled(info()->isolate()) && |
+ info()->GetMustNotHaveEagerFrame() && |
+ generator.NeedsEagerFrame())); |
return code; |
} |
assembler.AbortedCodeGeneration(); |