magic-trace icon indicating copy to clipboard operation
magic-trace copied to clipboard

Mark jumps into other functions as tail calls

Open Xyene opened this issue 3 years ago • 2 comments

We can mark them with an argument, as well as a flow marker (arrow from one frame to the other).

We may need to special-case this for OCaml-only, depending on how this interacts with other languages.

Xyene avatar Apr 14 '22 21:04 Xyene

You know that most C compilers etc also generate jmp tail calls (see gcc -foptimize-sibling-calls)?

Also I'm not sure what this buys us; I think the current UI of "foo; bar" on the same line is a pretty clear indication of what happened?

ahh avatar Apr 24 '22 23:04 ahh

FWIW I also think the current display correctly communicates what's happening. When I last talked to Tudor about this he convinced me that it's worth at least trying it out to see what it looks like.

cgaebel avatar Apr 25 '22 13:04 cgaebel