• Sven Sauleau's avatar
    [wasm] correct Table limit · f4e322c3
    Sven Sauleau authored
    Align the Table implementation limits with the JavaScript Embedding
    limits defined in the specification (from MAX_UINT32 to 1e7).
    
    Introduce a new helper (max_table_init_entries) that returns the
    maximum number of Table entry at initialization. It takes into account
    the maximum Table size, which can be passed by a flag.
    
    Bug: v8:8633
    Change-Id: Idfa19418e81f478f7886a30876e66c9b216e25ac
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1496971
    Commit-Queue: Sven Sauleau <ssauleau@igalia.com>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60036}
    f4e322c3
table-limits.js 1.33 KB