Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 1eae31d522ea141075511c57b331f8ce85669629..65c0456dc70c32da4a18bfa18f326be43ec30a2c 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -2481,10 +2481,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); |
} |