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

Unified Diff: src/scopes.h

Issue 6144005: Early draft of strict mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
Index: src/scopes.h
diff --git a/src/scopes.h b/src/scopes.h
index d909b81fc1f420d41ca273e702522c70b015ad2c..a5ec25ed7437fd9f7496d3b9b5da536823bbebdf 100644
--- a/src/scopes.h
+++ b/src/scopes.h
@@ -289,6 +289,12 @@ class Scope: public ZoneObject {
int ContextChainLength(Scope* scope);
// ---------------------------------------------------------------------------
+ // Strict mode support.
+
+ bool HasDuplicateParameterName();
+ bool HasEvalOrArgumentsParameter();
+
+ // ---------------------------------------------------------------------------
// Debugging.
#ifdef DEBUG

Powered by Google App Engine
This is Rietveld 408576698