WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I64EqzOpcode opcode, WasmNodeArg arg) { var expr = arg.Pop(); arg.Push(new I64EqzNode(expr)); return(null); }
public WasmOpcodeExecutor Visit(I64EqzOpcode opcode, WasmFunctionState state) { var value = state.PopUI64(); state.PushBool(value == 0); return(this); }