summaryrefslogtreecommitdiff
path: root/chromium/v8/src/compiler/ast-graph-builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/compiler/ast-graph-builder.cc')
-rw-r--r--chromium/v8/src/compiler/ast-graph-builder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/v8/src/compiler/ast-graph-builder.cc b/chromium/v8/src/compiler/ast-graph-builder.cc
index 272eef1f316..89bb61949a0 100644
--- a/chromium/v8/src/compiler/ast-graph-builder.cc
+++ b/chromium/v8/src/compiler/ast-graph-builder.cc
@@ -3078,7 +3078,7 @@ void AstGraphBuilder::VisitLogicalExpression(BinaryOperation* expr) {
LanguageMode AstGraphBuilder::language_mode() const {
- return info()->language_mode();
+ return current_scope()->language_mode();
}