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 6f95acdae24fd4250386015bb3117098b1671ea0..9ea4aaf89aac95fedc96664e9a4f9d38464ab564 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1665,7 +1665,7 @@ void FullCodeGenerator::VisitAssignment(Assignment* expr) { |
PushOperand(result_register()); |
if (expr->is_compound()) { |
const Register scratch1 = r5; |
- const Register scratch = r4; |
+ const Register scratch2 = r4; |
__ LoadP(scratch1, MemOperand(sp, 2 * kPointerSize)); |
__ LoadP(scratch2, MemOperand(sp, 1 * kPointerSize)); |
PushOperands(scratch1, scratch2, result_register()); |