Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index e13b120fa69baea2f9fbc5b663268b9ea0d74b07..c7581acba73fee715fcc069eedb99a82c0ce8f0f 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -651,6 +651,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, |