Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index ba266ddce2a09408cdfeb4dc77825d88379e835a..1399cfa53a82ddcaaef1dfd1964ea9406f0a9190 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2483,9 +2483,8 @@ void AstGraphBuilder::VisitCall(Call* expr) { |
// Create node to perform the function call. |
VectorSlotPair feedback = CreateVectorSlotPair(expr->CallFeedbackICSlot()); |
- const Operator* call = |
- javascript()->CallFunction(args->length() + 2, language_mode(), feedback, |
- receiver_hint, expr->tail_call_mode()); |
+ const Operator* call = javascript()->CallFunction( |
+ args->length() + 2, feedback, receiver_hint, expr->tail_call_mode()); |
FrameStateBeforeAndAfter states(this, expr->CallId()); |
Node* value = ProcessArguments(call, args->length() + 2); |
environment()->Push(value->InputAt(0)); // The callee passed to the call. |
@@ -2563,8 +2562,7 @@ void AstGraphBuilder::VisitCallJSRuntime(CallRuntime* expr) { |
VisitForValues(args); |
// Create node to perform the JS runtime call. |
- const Operator* call = |
- javascript()->CallFunction(args->length() + 2, language_mode()); |
+ const Operator* call = javascript()->CallFunction(args->length() + 2); |
FrameStateBeforeAndAfter states(this, expr->CallId()); |
Node* value = ProcessArguments(call, args->length() + 2); |
states.AddToNode(value, expr->id(), ast_context()->GetStateCombine()); |