[dart2wasm] Fix Wasm{Int,Float}Array.fill value types

Change-Id: I8eb8a8a547a77e416b73b44d5fb0c91e24dff17e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/318924
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Ömer Ağacan <omersa@google.com>
This commit is contained in:
Ömer Sinan Ağacan 2023-08-08 15:27:37 +00:00 committed by Commit Queue
parent b6e7b7e536
commit b53e0b31ca

View file

@ -182,7 +182,7 @@ class WasmIntArray<T extends _WasmInt> extends WasmArrayRef {
external void write(int index, int value);
external void copy(
int offset, WasmIntArray<T> source, int sourceOffset, int size);
external void fill(int offset, T value, int size);
external void fill(int offset, int value, int size);
}
/// A Wasm array with float element type.
@ -194,7 +194,7 @@ class WasmFloatArray<T extends _WasmFloat> extends WasmArrayRef {
external void write(int index, double value);
external void copy(
int offset, WasmFloatArray<T> source, int sourceOffset, int size);
external void fill(int offset, T value, int size);
external void fill(int offset, double value, int size);
}
/// A Wasm array with reference element type, containing Dart objects.