public WasmOpcodeExecutor Visit(I32ShrUOpcode opcode, WasmFunctionState state) { var right = state.PopUI32(); var left = state.PopUI32(); state.PushUI32(left >> (int)right); return(this); }
WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I32ShrUOpcode opcode, WasmNodeArg arg) { var right = arg.Pop(); var left = arg.Pop(); arg.Push(new I32ShrUNode(left, right)); return(null); }