• Manos Koukoutos's avatar
    Reland "[wasm] Fast paths in EvaluateInitExpression" · 05f6d3f9
    Manos Koukoutos authored
    This is a reland of be6bd4f4.
    The reason for revert was two bots timing out. On further inspection,
    the timeouts seem unrelated.
    
    Original change's description:
    > [wasm] Fast paths in EvaluateInitExpression
    >
    > We add fast paths for the most common types of expressions in
    > {EvaluateInitExpression} to improve instantiation time. We fall back to
    > full expression decoding for less common operators, or for expressions
    > with operands.
    >
    > Bug: chromium:1284557
    > Change-Id: I39a1816176974058b801cdad6eaaa6da156cea04
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3367627
    > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#78497}
    
    Bug: chromium:1284557
    Change-Id: I209458c1fa36ae41899434b90759ebe3fe5e2a57
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3375545Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78529}
    05f6d3f9
function-body-decoder.cc 10.7 KB