| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 4ffc1e493948bce4eab8382dc72046519096e9c7..2db91d5b72c8fd8df980a88c7cf7456906e03f86 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -2450,7 +2450,10 @@ void AstGraphBuilder::VisitCall(Call* expr) {
|
| args->length() + 2, feedback, receiver_hint, expr->tail_call_mode());
|
| PrepareEagerCheckpoint(possibly_eval ? expr->EvalId() : expr->CallId());
|
| Node* value = ProcessArguments(call, args->length() + 2);
|
| - environment()->Push(value->InputAt(0)); // The callee passed to the call.
|
| + // The callee passed to the call, we just need to push something here to
|
| + // satisfy the bailout location contract. The fullcodegen code will not
|
| + // ever look at this value, so we just push optimized_out here.
|
| + environment()->Push(jsgraph()->OptimizedOutConstant());
|
| PrepareFrameState(value, expr->ReturnId(), OutputFrameStateCombine::Push());
|
| environment()->Drop(1);
|
| ast_context()->ProduceValue(expr, value);
|
|
|