gpt4 book ai didi

c# - 术语 "Calli"的语义推断或含义是什么?

转载 作者:太空宇宙 更新时间:2023-11-03 19:24:46 25 4
gpt4 key购买 nike

我在代码的不同地方看到过这个术语,例如 graphics programming samples .它似乎是 C++ 语义,但显然有一个名为 EmitCalli 的 C#/.NET 托管实现。这似乎与 OpCodes.Calli 有关.我认为这是一条机器语言指令。有没有对这个词的解释有点接近通俗的说法?

最佳答案

这意味着间接调用,它是针对MSIL的

Calls the method indicated on the evaluation stack (as a pointer to an entry point) with arguments described by a calling convention.

call 中,方法描述符随指令一起传递(因此直接传递)

calli 中,它被赋予了一个方法入口指针(因此是间接的)

关于c# - 术语 "Calli"的语义推断或含义是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9593840/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com