| Index: src/ppc/full-codegen-ppc.cc
|
| diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc
|
| index 1bb4f54f4ac07fca102fea4e2bf3668eaace403d..4addff628989fda0dc102632dacb361f73902197 100644
|
| --- a/src/ppc/full-codegen-ppc.cc
|
| +++ b/src/ppc/full-codegen-ppc.cc
|
| @@ -2522,7 +2522,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
| __ LoadP(scratch, MemOperand(sp, 0)); // prototype
|
| }
|
| __ push(scratch);
|
| - VisitForStackValue(key);
|
| + EmitPropertyKey(property);
|
| VisitForStackValue(value);
|
|
|
| switch (property->kind()) {
|
| @@ -2534,11 +2534,11 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
| break;
|
|
|
| case ObjectLiteral::Property::GETTER:
|
| - __ CallRuntime(Runtime::kDefineClassGetter, 3);
|
| + __ CallRuntime(Runtime::kDefineGetterPropertyUnchecked, 3);
|
| break;
|
|
|
| case ObjectLiteral::Property::SETTER:
|
| - __ CallRuntime(Runtime::kDefineClassSetter, 3);
|
| + __ CallRuntime(Runtime::kDefineSetterPropertyUnchecked, 3);
|
| break;
|
|
|
| default:
|
|
|