コード例 #1
0
        WasmNodeResult IWasmOpcodeVisitor <WasmNodeArg, WasmNodeResult> .Visit(F64LeOpcode opcode, WasmNodeArg arg)
        {
            var right = arg.Pop();
            var left  = arg.Pop();

            arg.Push(new F64LeNode(left, right));
            return(null);
        }
コード例 #2
0
        public WasmOpcodeExecutor Visit(F64LeOpcode opcode, WasmFunctionState state)
        {
            var right = state.PopF64();
            var left  = state.PopF64();

            state.PushBool(left <= right);
            return(this);
        }