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