Description[turbofan] Add inlined Array.prototype.pop support.
This adds a very first version of inlined Array.prototype.pop into
TurboFan optimized code. We currently limit the inlining to fast
object or smi elements, until the unclear situation around hole NaNs
is resolved and we have a clear semantics inside the compiler.
It's also probably overly defensive in when it's safe to inline
the call to Array.prototype.pop, but we can always extend that
later once we have sufficient trust in the implementation and see
an actual need to extend it.
BUG=v8:2229, v8:3952, v8:5267
R=epertoso@chromium.org
Committed: https://crrev.com/b8f475045c27536e2666a55d826c556ce4cdbb3e
Cr-Commit-Position: refs/heads/master@{#38578}
Patch Set 1 #Patch Set 2 : Only convert hole to undefined for holey elements #
Created: 4 years, 4 months ago
Messages
Total messages: 12 (7 generated)
|