| Index: src/arm/lithium-arm.cc
 | 
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
 | 
| index ff6da03bb5811260b4add49b34bc8dff5bb838c6..1806c81d1cb84c8ff5f220e090798f202b6789cb 100644
 | 
| --- a/src/arm/lithium-arm.cc
 | 
| +++ b/src/arm/lithium-arm.cc
 | 
| @@ -1409,7 +1409,7 @@ LInstruction* LChunkBuilder::DoCompareGeneric(HCompareGeneric* instr) {
 | 
|  
 | 
|  LInstruction* LChunkBuilder::DoCompareIDAndBranch(
 | 
|      HCompareIDAndBranch* instr) {
 | 
| -  Representation r = instr->GetInputRepresentation();
 | 
| +  Representation r = instr->representation();
 | 
|    if (r.IsInteger32()) {
 | 
|      ASSERT(instr->left()->representation().IsInteger32());
 | 
|      ASSERT(instr->right()->representation().IsInteger32());
 | 
| @@ -2168,7 +2168,7 @@ LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) {
 | 
|    env->set_ast_id(instr->ast_id());
 | 
|  
 | 
|    env->Drop(instr->pop_count());
 | 
| -  for (int i = 0; i < instr->values()->length(); ++i) {
 | 
| +  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);
 | 
| 
 |