summaryrefslogtreecommitdiff
path: root/deps/v8/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/parser.h')
-rw-r--r--deps/v8/src/parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/parser.h b/deps/v8/src/parser.h
index 75f8e10931..146d7bb9af 100644
--- a/deps/v8/src/parser.h
+++ b/deps/v8/src/parser.h
@@ -661,6 +661,11 @@ class Parser {
bool* is_set,
bool* ok);
+ // Determine if the expression is a variable proxy and mark it as being used
+ // in an assignment or with a increment/decrement operator. This is currently
+ // used on for the statically checking assignments to harmony const bindings.
+ void MarkAsLValue(Expression* expression);
+
// Strict mode validation of LValue expressions
void CheckStrictModeLValue(Expression* expression,
const char* error,