Fixed the cascade bug that broke switches. The original cascade code
commit5efc6215362a9076fd8680aaecaca3a4932c604c
authorVincent St-Amour <stamourv@iro.umontreal.ca>
Wed, 8 Oct 2008 21:27:06 +0000 (8 17:27 -0400)
committerVincent St-Amour <stamourv@iro.umontreal.ca>
Wed, 8 Oct 2008 21:27:06 +0000 (8 17:27 -0400)
tree7aae47fea21198d34aa03456c0260ef9d2bd0948
parent30394e394f95fd5f629e34899b13b221611360d7
Fixed the cascade bug that broke switches. The original cascade code
is now used, and any empty block is turned into a single goto, which
fixes the problem.
Also fixed an issue with fall throughs in switches, should work ok
now.
TODO
cfg.scm
code-generation.scm
optimizations.scm
six-comp.scm
tests/test2.c