Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 8061302bc3b6767d40b6daa0a9b3e1e749dcb2e8..45d081100957c89131d74d62be280a93cd047f33 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -1692,18 +1692,18 @@ void FullCodeGenerator::VisitAssignment(Assignment* expr) { |
} |
break; |
case KEYED_SUPER_PROPERTY: { |
- const Register scratch = a1; |
VisitForStackValue( |
property->obj()->AsSuperPropertyReference()->this_var()); |
- VisitForAccumulatorValue( |
+ VisitForStackValue( |
property->obj()->AsSuperPropertyReference()->home_object()); |
- __ Move(scratch, result_register()); |
VisitForAccumulatorValue(property->key()); |
- PushOperands(scratch, result_register()); |
+ PushOperand(result_register()); |
if (expr->is_compound()) { |
const Register scratch1 = t0; |
+ const Register scratch2 = a1; |
__ lw(scratch1, MemOperand(sp, 2 * kPointerSize)); |
- PushOperands(scratch1, scratch, result_register()); |
+ __ lw(scratch2, MemOperand(sp, 1 * kPointerSize)); |
+ PushOperands(scratch1, scratch2, result_register()); |
} |
break; |
} |