Пример #1
0
 WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I32ConstOpcode opcode, WasmNodeArg arg)
 {
     arg.Push(new I32ConstNode(opcode.Value));
     return(null);
 }
 public WasmOpcodeExecutor Visit(I32ConstOpcode opcode, WasmFunctionState state)
 {
     state.PushSI32(opcode.Value);
     return(this);
 }
 WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I32ConstOpcode opcode, WasmMSILArg arg)
 {
     arg.IL.Emit(OpCodes.Ldc_I4, opcode.Value);
     return(null);
 }