| Index: src/ia32/lithium-ia32.cc | 
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc | 
| index 2fdbb9858bb435feb98d78826ca45388d9076cc7..ba1abdc63291e15b6b225ad3df51a7465671537f 100644 | 
| --- a/src/ia32/lithium-ia32.cc | 
| +++ b/src/ia32/lithium-ia32.cc | 
| @@ -2564,8 +2564,7 @@ LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { | 
|  | 
|  | 
| LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { | 
| -  HEnvironment* env = current_block_->last_environment(); | 
| -  instr->ReplayEnvironment(env); | 
| +  instr->ReplayEnvironment(current_block_->last_environment()); | 
|  | 
| // There are no real uses of a captured object. | 
| return NULL; | 
| @@ -2615,20 +2614,7 @@ LInstruction* LChunkBuilder::DoIsConstructCallAndBranch( | 
|  | 
|  | 
| LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { | 
| -  HEnvironment* env = current_block_->last_environment(); | 
| -  ASSERT(env != NULL); | 
| - | 
| -  env->set_ast_id(instr->ast_id()); | 
| - | 
| -  env->Drop(instr->pop_count()); | 
| -  for (int i = instr->values()->length() - 1; i >= 0; --i) { | 
| -    HValue* value = instr->values()->at(i); | 
| -    if (instr->HasAssignedIndexAt(i)) { | 
| -      env->Bind(instr->GetAssignedIndexAt(i), value); | 
| -    } else { | 
| -      env->Push(value); | 
| -    } | 
| -  } | 
| +  instr->ReplayEnvironment(current_block_->last_environment()); | 
|  | 
| // If there is an instruction pending deoptimization environment create a | 
| // lazy bailout instruction to capture the environment. | 
|  |