Description[turbofan] Thread through object boilerplate length.
This adds the number of properties to be expected within the boilerplate
object for object literals to the TurboFan IR. The reason is that this
length can no longer be easily inferred from just the constants array.
The length is potentially non-zero for empty object literals and might
also diverge in the presence of constant functions or duplicate property
names.
For future safety and for symmetry reasons, the same change was applied
to array literals as well, even though inferring the length from the
constant elements is still possible there.
R=verwaest@chromium.org
BUG=chromium:593008
LOG=n
Committed: https://crrev.com/f7934b64273f6489f4b91642faaa482d73a46caf
Cr-Commit-Position: refs/heads/master@{#34594}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|