Currently, when the codebase is compiled with the -debug flag, the transformed function gets printed out in the terminal. I think a better way is to use a define (e.g. -D await_debug) to guard that.
For example, I compile to js and I need the -debug flag for the source mapping, but I don't need await's debug print. That could probably save us a little bit compile time.
Currently, when the codebase is compiled with the
-debug
flag, the transformed function gets printed out in the terminal. I think a better way is to use a define (e.g.-D await_debug
) to guard that.For example, I compile to js and I need the
-debug
flag for the source mapping, but I don't need await's debug print. That could probably save us a little bit compile time.