CIL stack exchange instruction

后端 未结 4 2209
走了就别回头了
走了就别回头了 2021-02-14 15:03

Is there a CIL instruction to exchange the first two elements in the stack?

4条回答
  •  一个人的身影
    2021-02-14 15:32

    No. The only way to swap elements is to pop the top two elements to locals, then push them in reverse order.

提交回复
热议问题