• Clemens Backes's avatar
    Reland "[asm] Reject import calls with too many parameters" · 9b810b9f
    Clemens Backes authored
    This is a reland of commit a664aef0.
    The test is made ~25x faster by using integer parameters instead of
    floating point.
    
    Original change's description:
    > [asm] Reject import calls with too many parameters
    >
    > The asm parser was missing a check for too many parameters for calls to
    > imported functions. For regular functions this check implicitly existed
    > because the limit was checked at the function declaration, and the call
    > site needs to match the declared parameter count.
    >
    > R=mslekova@chromium.org
    >
    > Bug: chromium:1302596
    > Change-Id: I0d35e70a66d682ee8fdecf5c8ea4d2b1419ce684
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3509393
    > Reviewed-by: Maya Lekova <mslekova@chromium.org>
    > Commit-Queue: Clemens Backes <clemensb@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#79415}
    
    Bug: chromium:1302596
    Change-Id: I138561742b38939a1c2c9a69a6fa508d4f3a028d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3513613Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#79424}
    9b810b9f
asm-validation.js 12.9 KB