SimpleProgramAnalyser / spa

A CMake Windows program for a SIMPLE language
GNU General Public License v3.0
3 stars 0 forks source link

CFG Bip links nodes incorrectly if Call is the last statement #136

Closed alcen closed 4 years ago

alcen commented 4 years ago

image

For this program, the nodes are linked like this: 24 -> 19 -> 20 -> 24, but 24 should skip 19 and 20 and link to end node since 19 and 20 are the last statements in the procedure

alcen commented 4 years ago

Fixed by #138