mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +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;
|
break;
|
||||||
case SET:
|
case SET:
|
||||||
AnyType fieldType = fieldName.getType();
|
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;
|
break;
|
||||||
case GET:
|
case GET:
|
||||||
fieldType = fieldName.getType();
|
fieldType = fieldName.getType();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user