| 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 12d24c0e859c8d54ddaa86a5e24b7d015f3122e1..f1848c9e06167bdb161a90ec389005d31998680c 100644
|
| --- a/src/full-codegen/x87/full-codegen-x87.cc
|
| +++ b/src/full-codegen/x87/full-codegen-x87.cc
|
| @@ -2477,10 +2477,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit,
|
|
|
| // Set both the prototype and constructor to have fast properties, and also
|
| // freeze them in strong mode.
|
| - __ CallRuntime(is_strong(language_mode())
|
| - ? Runtime::kFinalizeClassDefinitionStrong
|
| - : Runtime::kFinalizeClassDefinition,
|
| - 2);
|
| + __ CallRuntime(Runtime::kFinalizeClassDefinition, 2);
|
| }
|
|
|
|
|
|
|