Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index fc1d64079a7ca3abac5adb3f3a33404bcd5f2ef4..c71ce5d788d707c6b64222c0286fcf3df906c9a2 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -860,6 +860,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) { |
@@ -2253,6 +2254,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; |