| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index b97260111ea45ffb0ea1683b4347183bb90be733..102ac0d3813a30d7b6f15e7cd59602b027722f5b 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -1308,12 +1308,14 @@ void AstGraphBuilder::VisitCall(Call* expr) {
|
|
|
| // Create node to ask for help resolving potential eval call. This will
|
| // provide a fully resolved callee and the corresponding receiver.
|
| + Node* function = GetFunctionClosure();
|
| Node* receiver = environment()->Lookup(info()->scope()->receiver());
|
| Node* strict = jsgraph()->Constant(strict_mode());
|
| Node* position = jsgraph()->Constant(info()->scope()->start_position());
|
| const Operator* op =
|
| - javascript()->CallRuntime(Runtime::kResolvePossiblyDirectEval, 5);
|
| - Node* pair = NewNode(op, callee, source, receiver, strict, position);
|
| + javascript()->CallRuntime(Runtime::kResolvePossiblyDirectEval, 6);
|
| + Node* pair =
|
| + NewNode(op, callee, source, function, receiver, strict, position);
|
| PrepareFrameState(pair, expr->EvalOrLookupId(),
|
| OutputFrameStateCombine::PokeAt(arg_count + 1));
|
| Node* new_callee = NewNode(common()->Projection(0), pair);
|
|
|