DescriptionX87: Use Variable::binding_needs_init() to determine hole initialization.
port 6768456db513936cb19c8cdc657a7cd6122584a9 (r38395)
original commit message:
The old code was using VariableMode, but that signal is both
over-pessimistic (some CONST and LET variables need no hole-initialization)
and inconsistent with other uses of the InitializationFlag enum (such
as %LoadLookupSlot).
This changes no observable behavior, but removes unnecessary hole
initialization and hole checks in a few places, including
block-scoped function declarations, super property lookups,
and new.target.
BUG=
Committed: https://crrev.com/759a06fca37a21dd62a21fbad602c3fb874c495c
Cr-Commit-Position: refs/heads/master@{#38468}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|