Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index fa2f921d016786a56b276f854f99360db42db684..5ef9d0a0b935eb2f163cb43f4bd1785010135320 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1297,9 +1297,7 @@ void FullCodeGenerator::VisitClassLiteral(ClassLiteral* lit) { |
__ Push(Smi::FromInt(lit->start_position())); |
__ Push(Smi::FromInt(lit->end_position())); |
- __ CallRuntime(is_strong(language_mode()) ? Runtime::kDefineClassStrong |
- : Runtime::kDefineClass, |
- 5); |
+ __ CallRuntime(Runtime::kDefineClass, 5); |
PrepareForBailoutForId(lit->CreateLiteralId(), TOS_REG); |
int store_slot_index = 0; |