Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: src/compiler/ast-graph-builder.cc

Issue 1169853006: [turbofan] Fix one mean typo in kResolvePossiblyDirectEval. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_trycatch-reducer-3
Patch Set: Addressed comments. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-eval-context.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 =
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-eval-context.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698