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
there's an extra call to complete_rqmfICbsG8zaMmva4T4xIg after the last goto BeforeRet_ that will never be hit
the snippet (*(*colonenvP_).colonup_).retFuture1 is generated by a single node instance appearing twice in the tree - at this point the tree is no longer a tree (the node has two parents, so it's more of a graph), and the node ID can suddenly be found in two branches of the tree - this makes it difficult to use for things that depend on it being unique, such as dead code elimination or lazy code generation (unlike the C gen, nlvm uses it this)!
compiling https://github.com/nim-lang/Nim/blob/master/tests/async/tasync_traceback.nim, the async code gets transformed into a state machine - in this state machine, there are two issues with the generated tree:
there's an extra call to
complete_rqmfICbsG8zaMmva4T4xIg
after the lastgoto BeforeRet_
that will never be hitthe snippet
(*(*colonenvP_).colonup_).retFuture1
is generated by a single node instance appearing twice in the tree - at this point the tree is no longer a tree (the node has two parents, so it's more of a graph), and the node ID can suddenly be found in two branches of the tree - this makes it difficult to use for things that depend on it being unique, such as dead code elimination or lazy code generation (unlike the C gen,nlvm
uses it this)!using Nim 673f5f3
The text was updated successfully, but these errors were encountered: