Exemple #1
0
        WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I64ShlOpcode opcode, WasmNodeArg arg)
        {
            var right = arg.Pop();
            var left  = arg.Pop();

            arg.Push(new I64ShlNode(left, right));
            return(null);
        }
 public WasmOpcodeExecutor Visit(I64ShlOpcode opcode, WasmFunctionState state) => throw new System.NotImplementedException();
 WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I64ShlOpcode opcode, WasmMSILArg arg)
 {
     arg.IL.Emit(OpCodes.Shl);
     return(null);
 }