Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index bee18544484e6f2c0b585d4d263291cef9098136..b03c7fb6efcce254d749505446bccc8203a8b79a 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -865,6 +865,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) { |
@@ -2254,6 +2255,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; |