| Index: src/full-codegen/x87/full-codegen-x87.cc
|
| diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc
|
| index d06f53fbb0bc32f91c0ce4e2acf98d920231fef7..dee8c1ba4a62be97f78df77e4ba43ba2f7cbe6bd 100644
|
| --- a/src/full-codegen/x87/full-codegen-x87.cc
|
| +++ b/src/full-codegen/x87/full-codegen-x87.cc
|
| @@ -2147,16 +2147,6 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr,
|
|
|
|
|
| void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
| - // Constructor is in eax.
|
| - DCHECK(lit != NULL);
|
| - __ push(eax);
|
| -
|
| - // No access check is needed here since the constructor is created by the
|
| - // class literal.
|
| - Register scratch = ebx;
|
| - __ mov(scratch, FieldOperand(eax, JSFunction::kPrototypeOrInitialMapOffset));
|
| - __ Push(scratch);
|
| -
|
| for (int i = 0; i < lit->properties()->length(); i++) {
|
| ObjectLiteral::Property* property = lit->properties()->at(i);
|
| Expression* value = property->value();
|
| @@ -2204,10 +2194,6 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) {
|
| break;
|
| }
|
| }
|
| -
|
| - // Set both the prototype and constructor to have fast properties, and also
|
| - // freeze them in strong mode.
|
| - __ CallRuntime(Runtime::kFinalizeClassDefinition);
|
| }
|
|
|
|
|
|
|