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

Unified Diff: src/ast-inl.h

Issue 8344082: Replace boolean indications of strict mode by an enum value. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Some fixes and adapted the preparser. Created 9 years, 2 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/compiler.h » ('j') | src/compiler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-inl.h
diff --git a/src/ast-inl.h b/src/ast-inl.h
index 731ad2ff3f2a8468ade4204ca5a78243ce1fa56c..007892537c6ccaad45601149ae64c20b7c2991b1 100644
--- a/src/ast-inl.h
+++ b/src/ast-inl.h
@@ -111,8 +111,8 @@ ForInStatement::ForInStatement(Isolate* isolate, ZoneStringList* labels)
}
-bool FunctionLiteral::strict_mode() const {
- return scope()->is_strict_mode();
+StrictModeFlag FunctionLiteral::strict_mode_flag() const {
+ return scope()->strict_mode_flag();
}
« no previous file with comments | « src/ast.h ('k') | src/compiler.h » ('j') | src/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698