Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Parameters to callback being overwritten by method call inside callback #976
Using this simple
The following behaviour is observed:
Notice how the value of
Of course, whatever string value is in the call to
When issuing the call within the function, the stack pointer is 0. Thus the value gets overwritten. Why is the stack pointer 0? Because executef is resetting it to 0, though with good intentions.
Need to do a little refactoring of the stack manipulation code to fix this properly. Should be fixed sometime tomorrow.