-
peterwmwong authored
- Avoids generating ConstructByArrayLike multiple times within CreateTypedArray - Make TypedArrayInitialize a macro to avoid TFS builtin call overhead. Small reduction in builtins size: Before - 9508 TypedArrayInitialize + CreateTypedArray After - 9476 CreateTypedArray Improvements to related typed array constructor benchmarks: TypedArrays-Constructor ~5% TypedArrays-ConstructArrayLike ~2.7% Bug: v8:7161 Change-Id: I1684c3d7577afbb181ea4691caa00c60da391266 Reviewed-on: https://chromium-review.googlesource.com/c/1452239Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Peter Wong <peter.wm.wong@gmail.com> Cr-Commit-Position: refs/heads/master@{#59364}
c80f18fc