DescriptionPPC/s390: Remove CONST_LEGACY VariableMode
Port 7516fe1eaa7910015d7732a1aa34e45e3e37586c
Original commit message:
The only remaining use of this VariableMode is for the names of sloppy
named function expressions. This patch instead uses CONST for such
bindings (just as we do in strict mode) and instead marks those
Variables specially. During code generation a new helper method,
Variable::throw_on_const_assignment(), is called to decide whether
to throw or silently ignore the assignment.
R=adamk@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
BUG=
Committed: https://crrev.com/3b40d4f2e5508644143ceda92e3da35273e8933e
Cr-Commit-Position: refs/heads/master@{#39060}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|