|
Looking at the tests for NestedCall, FibonacciElement and StaticsTest, they all expect the base of the stack to be at 261, which would be 256 + the 5 elements of a stack frame.
But what I don't quite understand is why you would want to even push this stack frame. The Sys.init function shouldn't return and even if it did, the information in the frame is useless because it is all zeroes. (Even worse, it might be garbage data from a previous execution)
Also, just jumping uses way less assembly instructions. Can someone please explain this?
|