4 ms·
> Obviously what we'd like to see is: "foo: jmp bar" Shouldn't that be "foo: call bar"?
by amelius 12y ago
> Obviously what we'd like to see is: "foo: jmp bar"
Shouldn't that be "foo: call bar"?
- JasuM 12y agoI think it's JMP due to tail-call optimization. If there's a JMP, the RET of the inner function (bar) returns from the outer one (foo) also, and one unnecessary jump is eliminated.