You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebAssembly has support for tail call recursion optimization with the return_call and return_call_indirect instructions as mentioned in the TCO proposal and the MDN Docs.
In Theta, we currently do not make use of this instruction and only rely on the call_indirect for our function calls. We need to update the codegen for function calls to detect when we can use the return_call_indirect and make appropriate use of it.
The text was updated successfully, but these errors were encountered:
WebAssembly has support for tail call recursion optimization with the
return_call
andreturn_call_indirect
instructions as mentioned in the TCO proposal and the MDN Docs.In Theta, we currently do not make use of this instruction and only rely on the
call_indirect
for our function calls. We need to update the codegen for function calls to detect when we can use thereturn_call_indirect
and make appropriate use of it.The text was updated successfully, but these errors were encountered: