This is a design decision that I am not so sure about. At the moment almost all of the backend llvm functions take the llvm_traversal_ctx as an argument. Example here.
Maybe it would be beneficial to make it into a static global thread local variable.
This is a design decision that I am not so sure about. At the moment almost all of the backend llvm functions take the
llvm_traversal_ctx
as an argument. Example here.Maybe it would be beneficial to make it into a static global thread local variable.