| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 630e395da990b828a67d995e21f9c5fdafc66296..4569dc55988d0a4a29ef9926750acf9a7e4177cd 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -627,9 +627,8 @@ LInstruction* LChunkBuilder::AssignEnvironment(LInstruction* instr) {
|
| HEnvironment* hydrogen_env = current_block_->last_environment();
|
| int argument_index_accumulator = 0;
|
| ZoneList<HValue*> objects_to_materialize(0, zone());
|
| - instr->set_environment(CreateEnvironment(hydrogen_env,
|
| - &argument_index_accumulator,
|
| - &objects_to_materialize));
|
| + instr->set_environment(CreateEnvironment(
|
| + hydrogen_env, &argument_index_accumulator, &objects_to_materialize));
|
| return instr;
|
| }
|
|
|
| @@ -2633,6 +2632,7 @@ LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) {
|
| if (instr->arguments_var() != NULL && instr->arguments_object()->IsLinked()) {
|
| inner->Bind(instr->arguments_var(), instr->arguments_object());
|
| }
|
| + inner->BindContext(instr->closure_context());
|
| inner->set_entry(instr);
|
| current_block_->UpdateEnvironment(inner);
|
| chunk_->AddInlinedClosure(instr->closure());
|
|
|