| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index ea661831f2af502d70096127485b07c0796f7726..3c5ae464b5ad69b38423bcd6a520e5baac92f491 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -1403,7 +1403,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());
|
| @@ -2162,7 +2162,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);
|
|
|