| 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 0857d97c9683ccaf5786cb0f92c144999c665c18..ac5b4a31ce59ce3bfad3f0ad57e187b4bc2d188c 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -2249,17 +2249,6 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr,
|
|
|
|
|
| void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
| - // Constructor is in r3.
|
| - DCHECK(lit != NULL);
|
| - __ push(r3);
|
| -
|
| - // No access check is needed here since the constructor is created by the
|
| - // class literal.
|
| - Register scratch = r4;
|
| - __ LoadP(scratch,
|
| - FieldMemOperand(r3, JSFunction::kPrototypeOrInitialMapOffset));
|
| - __ push(scratch);
|
| -
|
| for (int i = 0; i < lit->properties()->length(); i++) {
|
| ObjectLiteral::Property* property = lit->properties()->at(i);
|
| Expression* value = property->value();
|
| @@ -2311,10 +2300,6 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
| UNREACHABLE();
|
| }
|
| }
|
| -
|
| - // Set both the prototype and constructor to have fast properties, and also
|
| - // freeze them in strong mode.
|
| - __ CallRuntime(Runtime::kFinalizeClassDefinition);
|
| }
|
|
|
|
|
|
|