Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index e45b615888d9647fe0ff9892c35a80d7f32fd679..e987416b6cdecdfad17bc405c873a48ccfc4b52c 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -3080,7 +3080,7 @@ void AstGraphBuilder::VisitLogicalExpression(BinaryOperation* expr) { |
LanguageMode AstGraphBuilder::language_mode() const { |
- return info()->language_mode(); |
+ return current_scope()->language_mode(); |
} |