Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index d5c8a5a7e7b405df6032e9e5818a523728e78dfe..be7b1c46ecb4e608672c7b33b773b55487903dc1 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1833,8 +1833,8 @@ void AstGraphBuilder::VisitCall(Call* expr) { |
float const frequency = ComputeCallFrequency(expr->CallFeedbackICSlot()); |
VectorSlotPair feedback = CreateVectorSlotPair(expr->CallFeedbackICSlot()); |
const Operator* call = |
- javascript()->CallFunction(args->length() + 2, frequency, feedback, |
- receiver_hint, expr->tail_call_mode()); |
+ javascript()->Call(args->length() + 2, frequency, feedback, receiver_hint, |
+ expr->tail_call_mode()); |
PrepareEagerCheckpoint(expr->CallId()); |
Node* value = ProcessArguments(call, args->length() + 2); |
// The callee passed to the call, we just need to push something here to |
@@ -1882,7 +1882,7 @@ void AstGraphBuilder::VisitCallJSRuntime(CallRuntime* expr) { |
VisitForValues(args); |
// Create node to perform the JS runtime call. |
- const Operator* call = javascript()->CallFunction(args->length() + 2); |
+ const Operator* call = javascript()->Call(args->length() + 2); |
PrepareEagerCheckpoint(expr->CallId()); |
Node* value = ProcessArguments(call, args->length() + 2); |
PrepareFrameState(value, expr->id(), ast_context()->GetStateCombine()); |