mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 18:44:47 +01:00
fix parameter order for struct.set polyfill
This commit is contained in:
parent
431d5f5a4a
commit
3c0199c000
@ -108,7 +108,7 @@ class WasmStructInstruction extends WasmInstruction {
|
||||
break;
|
||||
case SET:
|
||||
AnyType fieldType = fieldName.getType();
|
||||
functionName = new JavaScriptSyntheticFunctionName( "NonGC", "set_" + fieldType, () -> "(a,v,i) => a[i]=v", ValueType.anyref, ValueType.i32, fieldType, null, null );
|
||||
functionName = new JavaScriptSyntheticFunctionName( "NonGC", "set_" + fieldType, () -> "(a,v,i) => a[i]=v", ValueType.anyref, fieldType, ValueType.i32, null, null );
|
||||
break;
|
||||
case GET:
|
||||
fieldType = fieldName.getType();
|
||||
|
Loading…
x
Reference in New Issue
Block a user