• Jakob Kummerow's avatar
    [turbofan] Repair 'index in typedarray' regression · a35214a0
    Jakob Kummerow authored
    Bumping the max TypedArray length caused the typer to make different
    representation decisions, which caused inefficient back-and-forth
    conversions. This patch repairs the microbenchmark where this was
    most significant.
    There might be additional future work to ensure that TypedArray
    accesses that actually use huge indices remain on the fast path as well.
    
    Bug: chromium:1045934
    Change-Id: Ic6dccaae35fcdf74a26d47388477a1969bf0aa9f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2026728
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#66026}
    a35214a0
js-native-context-specialization.cc 139 KB