WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I64Load32SOpcode opcode, WasmNodeArg arg) { var address = arg.Pop(); arg.Push(new I64Load32SNode(opcode.Immediate, address)); return(null); }
public WasmOpcodeExecutor Visit(I64Load32SOpcode opcode, WasmFunctionState state) { var adr = state.PopUI32(); var val = state.Memory.ReadSInt32(adr, opcode.Immediate); state.PushSI32(val); return(this); }