You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CSE does not handle side effect of [array.copy] correctly #6690
The code creates a wasm-gc array with array.new_data, and performs a self copy on that array. Then it allocates another array with the same initial value via array.new_data. The import $use_array is used for preventing DCE.
After optimizing the above file with the following command line:
Note that the second array is replaced with local.get $0, i.e. the first array. But this is incorrect because the first array is already modified by array.copy.
Activity
kripken commentedon Jun 21, 2024
Thanks, somehow we missed two of the ArrayNew variant classes, fix is in #6691
[WasmGC] Add missing ArrayNew variants to Properties::isGenerative (#…