Index: src/lithium.cc |
diff --git a/src/lithium.cc b/src/lithium.cc |
index 8753ff14aa4f0b0cfbd1fe4b4cd6b2b151da2a20..48567930abc1c3bec19418e4e974a7fc335497d5 100644 |
--- a/src/lithium.cc |
+++ b/src/lithium.cc |
@@ -432,6 +432,7 @@ Handle<Code> LChunk::Codegen() { |
MarkEmptyBlocks(); |
if (generator.GenerateCode()) { |
+ generator.CheckEnvironmentUsage(); |
CodeGenerator::MakeCodePrologue(info(), "optimized"); |
Code::Flags flags = info()->flags(); |
Handle<Code> code = |