We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
特性描述:计划增加3条指令,使AVM可执行不具有闭包特性的非一等函数(例如C、Java等语言的函数、方法等)。3条指令分别为:
invoke <label>
<label>
setlocal <variable>
getlocal <variable>
还需要加入全局变量操作指令。
实现思路:①栈帧增加局部变量字段。②或者invoke的栈帧并不与call共用同一类栈帧。
invoke
call
The text was updated successfully, but these errors were encountered:
No branches or pull requests
特性描述:计划增加3条指令,使AVM可执行不具有闭包特性的非一等函数(例如C、Java等语言的函数、方法等)。3条指令分别为:
invoke <label>
执行<label>
处定义的函数。setlocal <variable>
将OP栈顶对象保存到位于栈帧的局部变量中。getlocal <variable>
从栈帧中取出局部变量的值,并压入OP栈顶。还需要加入全局变量操作指令。
实现思路:①栈帧增加局部变量字段。②或者
invoke
的栈帧并不与call
共用同一类栈帧。The text was updated successfully, but these errors were encountered: