Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 10abec7b8824741217a09e39e69e8e35b4a9224c..3eebbbcf677dd78b52c8cfae82aa8474c86d1515 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1564,10 +1564,7 @@ void AstGraphBuilder::VisitClassLiteralContents(ClassLiteral* expr) { |
Node* name = environment()->Pop(); |
Node* start = jsgraph()->Constant(expr->start_position()); |
Node* end = jsgraph()->Constant(expr->end_position()); |
- const Operator* opc = javascript()->CallRuntime( |
- is_strong(language_mode()) ? Runtime::kDefineClassStrong |
- : Runtime::kDefineClass, |
- 5); |
+ const Operator* opc = javascript()->CallRuntime(Runtime::kDefineClass, 5); |
Node* literal = NewNode(opc, name, extends, constructor, start, end); |
PrepareFrameState(literal, expr->CreateLiteralId(), |
OutputFrameStateCombine::Push()); |