Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 7201c19ab378d3614e3120a1eeeb4575b994e57b..f6a7197dc8806b2ddd565751ef9ea03aec057a9e 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1657,18 +1657,18 @@ void FullCodeGenerator::VisitAssignment(Assignment* expr) { |
} |
break; |
case KEYED_SUPER_PROPERTY: { |
- const Register scratch = r4; |
VisitForStackValue( |
property->obj()->AsSuperPropertyReference()->this_var()); |
- VisitForAccumulatorValue( |
+ VisitForStackValue( |
property->obj()->AsSuperPropertyReference()->home_object()); |
- __ mr(scratch, result_register()); |
VisitForAccumulatorValue(property->key()); |
- PushOperands(scratch, result_register()); |
+ PushOperand(result_register()); |
if (expr->is_compound()) { |
const Register scratch1 = r5; |
+ const Register scratch = r4; |
__ LoadP(scratch1, MemOperand(sp, 2 * kPointerSize)); |
- PushOperands(scratch1, scratch, result_register()); |
+ __ LoadP(scratch2, MemOperand(sp, 1 * kPointerSize)); |
+ PushOperands(scratch1, scratch2, result_register()); |
} |
break; |
} |