Unverified Commit 5d70652d authored by Mike Stanton's avatar Mike Stanton Committed by Michaël Zasso
Browse files

deps: fix Array.prototype.forEach on v8 6.8

This applies a variant of v8/v8@e1163c14f7e4fef2c549 to V8 6.8.

Original commit message:

    [Builtins] Array.prototype.forEach perf regression on dictionaries

    An unnecessary call to ToString() on the array index caused trips to
    the runtime. The fix also includes performance micro-benchmarks so
    we'll have a harder time regressing this case in future.

    TBR=tebbi@chromium.org

    Bug: v8:8112
    Change-Id: I781e8b1bbe2eb56db961cf33b0dca8523868b83d
    Reviewed-on: https://chromium-review.googlesource.com/1213207


    Commit-Queue: Michael Stanton <mvstanton@chromium.org>
Reviewed-by: default avatarMichael Stanton <mvstanton@chromium.org>
Reviewed-by: default avatarTobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55733}

Refs: https://github.com/v8/v8/commit/e1163c14f7e4fef2c5499888fc8d1542f662a71a
Fixes: https://github.com/nodejs/node/issues/22859
PR-URL: https://github.com/nodejs/node/pull/22899


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 16f7f52b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment