DescriptionX87: Remove all non-function-name uses of CONST_LEGACY.
port 59546149c600a2262339e82b6d24e407a71e7a98 (r35632)
original commit message:
Now that all 'const' declarations are of the ES2015 variety, the only
use of CONST_LEGACY is for function name bindings in sloppy mode
named function expressions.
This patch aims to delete all code meant to handle other cases, which
mostly had to do with hole initialization/hole checks. Since function
name bindings are initialized at entry to a function, it's impossible
to ever observe one in an uninitialized state.
To simplify the patch further, it removes the `IMPORT` VariableMode,
as it's not likely to be needed (IMPORT is identical to CONST for
the purpose of VariableMode).
BUG=
Committed: https://crrev.com/b94e9d885c61d7881d05cdb87c163e6b1257ea59
Cr-Commit-Position: refs/heads/master@{#35641}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|