Comment #10 on issue 457 by [email protected]: Tail call elimination (feature request)
http://code.google.com/p/v8/issues/detail?id=457

Guillaume, seems that you are confusing "inlining" and "tail call optimization".

You inlined bar into foo in your comment.

TCO is all about destructively reusing caller's frame for callee's execution. It's totally different thing.

No, I am not confusing the two things. That's why I wrote "functional equivalent of".

In more details: The "x" local variable of "foo" is not the same thing as the "x" local variable of "bar", so tail call elimination has to distinguish the two.


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to