Description[parser,ast] Simplify MarkExpressionAsAssigned.
There's no need to return anything.
Also add a DCHECK to make sure that we never mark a variable proxy as assigned
that is already resolved (to avoid potential inconsistency with the variable's
maybe_assigned status).
R=littledan@chromium.org
CC=mstarzinger@chromium.org
BUG=
Committed: https://crrev.com/48bbd1a7fefc601849ada069a09bbce4d57533eb
Cr-Commit-Position: refs/heads/master@{#41072}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|