| Index: src/x64/lithium-x64.cc | 
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc | 
| index 96fa71954e59a75591937e448f7e9f7da79d2317..3cab3fcff448e4e0b484c06144ba6af184e53b14 100644 | 
| --- a/src/x64/lithium-x64.cc | 
| +++ b/src/x64/lithium-x64.cc | 
| @@ -2424,19 +2424,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(env); | 
|  | 
| // If there is an instruction pending deoptimization environment create a | 
| // lazy bailout instruction to capture the environment. | 
|  |