DescriptionPPC/s390: Use Variable::binding_needs_init() to determine hole initialization
Port 6768456db513936cb19c8cdc657a7cd6122584a9
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.
R=adamk@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
BUG=
LOG=N
Committed: https://crrev.com/04c51b214f99d3c77f7c7fc1d46ba2b29b9c63f5
Cr-Commit-Position: refs/heads/master@{#38551}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|