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

Unified Diff: src/ast-inl.h

Issue 8417035: Introduce extended mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased version. Created 9 years, 1 month 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
Index: src/ast-inl.h
diff --git a/src/ast-inl.h b/src/ast-inl.h
index f8b460d3241debf05dc787680d980b2a0559be42..65c0003e3844195086827d58edf508e02604db17 100644
--- a/src/ast-inl.h
+++ b/src/ast-inl.h
@@ -121,8 +121,8 @@ int FunctionLiteral::end_position() const {
}
-StrictModeFlag FunctionLiteral::strict_mode_flag() const {
- return scope()->strict_mode_flag();
+LanguageMode FunctionLiteral::language_mode() const {
+ return scope()->language_mode();
}

Powered by Google App Engine
This is Rietveld 408576698