| Index: src/full-codegen/full-codegen.cc
|
| diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
|
| index 517d395e1af4c8cf15128ba721dd62061cbf9712..052a83a6574584df8fbbcbe0a21fc5cbfa0e4ae6 100644
|
| --- a/src/full-codegen/full-codegen.cc
|
| +++ b/src/full-codegen/full-codegen.cc
|
| @@ -1508,8 +1508,7 @@ void FullCodeGenerator::VisitClassLiteral(ClassLiteral* lit) {
|
|
|
| EmitClassDefineProperties(lit);
|
|
|
| - // Set both the prototype and constructor to have fast properties, and also
|
| - // freeze them in strong mode.
|
| + // Set constructor to have fast properties.
|
| CallRuntimeWithOperands(Runtime::kFinalizeClassDefinition);
|
|
|
| if (lit->class_variable_proxy() != nullptr) {
|
|
|