Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index a9825cf40022b59790224aa19775d5b595b772ec..2b792be89472ed2c5b8715ec286fd4ecf2101d30 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1562,14 +1562,13 @@ void AstGraphBuilder::VisitClassLiteralContents(ClassLiteral* expr) { |
Node* constructor = environment()->Pop(); |
Node* extends = environment()->Pop(); |
Node* name = environment()->Pop(); |
- Node* script = jsgraph()->Constant(info()->script()); |
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, |
- 6); |
- Node* literal = NewNode(opc, name, extends, constructor, script, start, end); |
+ 5); |
+ Node* literal = NewNode(opc, name, extends, constructor, start, end); |
PrepareFrameState(literal, expr->CreateLiteralId(), |
OutputFrameStateCombine::Push()); |