示例#1
0
        WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(I32WrapI64Opcode opcode, WasmNodeArg arg)
        {
            var operand = arg.Pop();

            arg.Push(new I32WrapI64Node(operand));
            return(null);
        }
        public WasmOpcodeExecutor Visit(I32WrapI64Opcode opcode, WasmFunctionState state)
        {
            var arg = state.PopUI64();

            state.PushUI32((uint)arg);
            return(this);
        }
示例#3
0
 WasmMSILResult IWasmOpcodeVisitor <WasmMSILArg, WasmMSILResult> .Visit(I32WrapI64Opcode opcode, WasmMSILArg arg)
 {
     return(null);
 }