| Index: src/parser.h
|
| diff --git a/src/parser.h b/src/parser.h
|
| index c05b2d9cb330be6b82b6a193fe7404ff17bc6423..3d44d585ca069c9ba82bd05069cda0d0bd176730 100644
|
| --- a/src/parser.h
|
| +++ b/src/parser.h
|
| @@ -468,8 +468,9 @@ class ParserTraits {
|
| void CheckPossibleEvalCall(Expression* expression, Scope* scope);
|
|
|
| // Determine if the expression is a variable proxy and mark it as being used
|
| - // in an assignment or with a increment/decrement operator.
|
| - static Expression* MarkExpressionAsAssigned(Expression* expression);
|
| + // in an assignment or with a increment/decrement operator. This is currently
|
| + // used on for the statically checking assignments to harmony const bindings.
|
| + static Expression* MarkExpressionAsLValue(Expression* expression);
|
|
|
| // Returns true if we have a binary expression between two numeric
|
| // literals. In that case, *x will be changed to an expression which is the
|
|
|