Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 655790a10b3d4675f961f084ea9c82373f20e78a..678471d0c996747b5d3f806af1b57134a22b3d65 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -2270,10 +2270,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); |
} |