Description[turbofan] Relax restrictions on JSCreate inlining.
No need to limit JSCreate inlining to JS_OBJECT_TYPE, since we can
handle everything that the FastNewObjectStub can deal with. Also we
don't need to restrict the number of inobject properties, as that is
already taken care of by the runtime anyways (limited by the initial
slack for the constructor).
And last but not least, we can of course inline allocations for
subclasses as long as the new.target is a JSFunction and it's initial
map's constructor points back to the target (same condition as for
the FastNewObjectStub fast case).
R=jarin@chromium.org
BUG=v8:4493
LOG=n
Committed: https://crrev.com/24c8f0b056ad306951759c33cefb5224c17e8b05
Cr-Commit-Position: refs/heads/master@{#34138}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 7 (2 generated)
|