Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index bba49fe6340b71a7f405000acd6c6ab3094353c0..584bf548c56ba9456a8ca9cd4d981406b9098166 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -146,8 +146,8 @@ int FunctionLiteral::end_position() const { |
} |
-StrictMode FunctionLiteral::strict_mode() const { |
- return scope()->strict_mode(); |
+LanguageMode FunctionLiteral::language_mode() const { |
+ return scope()->language_mode(); |
} |