| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 4207410cdf28c4dbc5c9c779da85436c7ac0a32f..a07b8d944daf187a2d745a847ee6df49268df361 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1449,7 +1449,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());
|
| @@ -2289,7 +2289,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);
|
|
|