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

Unified Diff: src/ast.cc

Issue 894683003: Introduce LanguageMode, drop StrictMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased (w/ conflicts) Created 5 years, 11 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 | « src/ast.h ('k') | src/code-factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « src/ast.h ('k') | src/code-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698