DescriptionX87: Remove CONST_LEGACY VariableMode.
port 7516fe1eaa7910015d7732a1aa34e45e3e37586c (r39052)
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.
BUG=
Committed: https://crrev.com/1722786cd37574ef57114e57887499feb8945651
Cr-Commit-Position: refs/heads/master@{#39059}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|