[Torque] Port Array.prototype.shift to Torque
Optimizations to use fast memmove to move elements are preserved, as well as heuristics for bailout to the runtime if left or right trimming is desired. Bug: v8:7672 Change-Id: I01ffc1143b63d705d99a40eab3a7e873596d0aa4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1499495 Commit-Queue: Michael Stanton <mvstanton@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#60118}
Showing
src/builtins/array-shift.tq
0 → 100644
Please
register
or
sign in
to comment