4 ms·
Gotos are edges in a graph of basic blocks - runs of code with only one entry and one exit. Once you have your code in the form of basic blocks, there's lots of
by barrkel 2y ago
Gotos are edges in a graph of basic blocks - runs of code with only one entry and one exit. Once you have your code in the form of basic blocks, there's lots of resources. See e.g. https://www.cs.cmu.edu/~fp/courses/15411-f13/lectures/06-ssa.pdf https://www.cs.cmu.edu/~fp/courses/15411-f13/lectures/06-ssa...
- ufo 2y agoI presume their question is about "simple" techniqyes. With goto, the most famous one needs to compute dominance frontiers.
- rayiner 2y agoSimple as in low time complexity? Computing dominance frontiers is pretty easy: https://www.cs.tufts.edu/~nr/cs257/archive/keith-cooper/dom14.pdf https://www.cs.tufts.edu/~nr/cs257/archive/keith-cooper/dom1...