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 079c22d212d96e78eb56a2d5047ea2eb2d94e673..b1810104abef605210269e4ac1cdb6259a575f2b 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -2246,6 +2246,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
ObjectLiteral::Property* property = lit->properties()->at(i); |
Expression* value = property->value(); |
+ Register scratch = r4; |
if (property->is_static()) { |
__ LoadP(scratch, MemOperand(sp, kPointerSize)); // constructor |
} else { |