Beispiel #1
0
 WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(F32ConstOpcode opcode, WasmNodeArg arg)
 {
     arg.Push(new F32ConstNode(opcode.Value));
     return(null);
 }
 public WasmOpcodeExecutor Visit(F32ConstOpcode opcode, WasmFunctionState state)
 {
     state.PushF32(opcode.Value);
     return(this);
 }
 WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(F32ConstOpcode opcode, WasmMSILArg arg)
 {
     arg.IL.Emit(OpCodes.Ldc_R4, opcode.Value);
     return(null);
 }