Tail call optimisation

Unknown <[email protected]> Thu, 13 Jun 2019 15:24:01 +0200
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
> When I have code like this:
>
> int bar() {
>   // Something
> }
>
> int foo() {
>   return bar();
> }
>
> I understand that Pike 8.0 and 8.1 optimise the call to bar() away and turn
> it into a jump?

It depends.

>What do Pike 8.0 and Pike 8.1 currently do with this:

Have you tried using

  #pragma disassemble

?

	/grubba