Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 3b190cced4ec3c78d0c4f5e23a35d8370c29a708..3d68ef50547e3edc560accbf4b807138a69c333b 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2456,7 +2456,7 @@ |
// provide a fully resolved callee to patch into the environment. |
Node* function = GetFunctionClosure(); |
Node* language = jsgraph()->Constant(language_mode()); |
- Node* position = jsgraph()->Constant(expr->position()); |
+ Node* position = jsgraph()->Constant(current_scope()->start_position()); |
const Operator* op = |
javascript()->CallRuntime(Runtime::kResolvePossiblyDirectEval); |
Node* new_callee = |