public WasmOpcodeExecutor Visit(I32ShrSOpcode opcode, WasmFunctionState state) { var right = state.PopSI32(); var left = state.PopSI32(); state.PushSI32(left >> right); return(this); }
WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I32ShrSOpcode opcode, WasmNodeArg arg) { var right = arg.Pop(); var left = arg.Pop(); arg.Push(new I32ShrSNode(left, right)); return(null); }