Comment by marianoguerra

5 hours ago

Co-author here.

if you are interested in tail calls you just need to understand the call instruction which we cover in the book and then replace it with either:

- return_call <funcidx>, the tail-call version of call

- return_call_indirect <tableidx> <typeidx>, the tail-call version of call_indirect

More info here: https://github.com/WebAssembly/tail-call/blob/main/proposals...