mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
use the right opcode for NEW_WITH_RTT (c&p error)
This commit is contained in:
parent
99e406958f
commit
945c245802
@ -1433,7 +1433,7 @@ public class BinaryModuleWriter extends ModuleWriter implements InstructionOpcod
|
||||
opCode = RTT_CANON;
|
||||
break;
|
||||
case NEW_WITH_RTT:
|
||||
opCode = STRUCT_NEW_DEFAULT;
|
||||
opCode = STRUCT_NEW;
|
||||
break;
|
||||
case CAST:
|
||||
codeStream.writeOpCode( REF_CAST );
|
||||
|
Loading…
x
Reference in New Issue
Block a user