Commit 78391a44 authored by Ng Zhi An's avatar Ng Zhi An Committed by Commit Bot

[wasm-simd] Fix typo in constructing SIMD Global

The value should be v128 according to
https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md#global-constructor.

Change-Id: I9d29905daaaf19cdcaf686991f4887c3e709d2d6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2436638Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70184}
parent f4b97a40
......@@ -61,5 +61,5 @@ load("test/mjsunit/wasm/wasm-module-builder.js");
})();
(function TestS128GlobalConstructor() {
assertThrows(() => new WebAssembly.Global({value: 'i128'}), TypeError);
assertThrows(() => new WebAssembly.Global({value: 'v128'}), TypeError);
})();
Markdown is supported
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