Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index f576e37e4f6a888e6f41585164a49843fea12176..fea07a8da236416276082d9c2333404fd857800f 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -886,6 +886,7 @@ LEnvironment* LChunkBuilder::CreateEnvironment( |
argument_count_, |
value_count, |
outer, |
+ hydrogen_env->entry(), |
zone()); |
int argument_index = *argument_index_accumulator; |
for (int i = 0; i < value_count; ++i) { |
@@ -2370,6 +2371,7 @@ LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { |
if (instr->arguments_var() != NULL) { |
inner->Bind(instr->arguments_var(), graph()->GetArgumentsObject()); |
} |
+ inner->set_entry(instr); |
current_block_->UpdateEnvironment(inner); |
chunk_->AddInlinedClosure(instr->closure()); |
return NULL; |