Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 9bafb730a867182a385b501e0d98b0161dc15266..a1e7ff646eacdcce67362d3b579b725ad7cbcbae 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2433,7 +2433,7 @@ void AstGraphBuilder::VisitCall(Call* expr) { |
} |
} |
Node* language = jsgraph()->Constant(language_mode()); |
- Node* position = jsgraph()->Constant(info()->scope()->start_position()); |
+ Node* position = jsgraph()->Constant(current_scope()->start_position()); |
const Operator* op = |
javascript()->CallRuntime(Runtime::kResolvePossiblyDirectEval, 6); |
Node* pair = |