Skip to content
New issue

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

DeclareVariable reg=-1 after ReleaseLocals F->freeLocal-- #3

Closed
viruscamp opened this issue Sep 23, 2014 · 1 comment
Closed

DeclareVariable reg=-1 after ReleaseLocals F->freeLocal-- #3

viruscamp opened this issue Sep 23, 2014 · 1 comment

Comments

@viruscamp
Copy link
Owner

程序崩溃

lua5.1-tests\attrib.lua
lua5.1-tests\locals.lua

调用 时 reg = -1
void DeclareVariable(Function* F, const char* name, int reg) {

必然是 F->freeLocal--;
void ReleaseLocals(Function* F) {

@viruscamp
Copy link
Owner Author

R115 没这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant