Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
amelius
· 11y ago · 0 comments
> Obviously what we'd like to see is: "foo: jmp bar"
Shouldn't that be "foo: call bar"?
Comments
[–]
JasuM
11y ago
I 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.