Simplify if_statement_to_firm() so it in particular does not create a critical edge...
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 10 Apr 2012 13:39:12 +0000 (15:39 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 10 Apr 2012 14:46:44 +0000 (16:46 +0200)
commitc1766187fc2226da5e59558aa7d0510b61ea4cf3
tree7ada6d243b3ce7dc45e8bed30e5ddff90a0e2cbc
parentdcae970e07e6de6229c927a74f4c233a2e5e2299
Simplify if_statement_to_firm() so it in particular does not create a critical edge, if there is no else part.

- The then part is constructed before the else part now.
- No explicit block after the if statement is created if the then or else parts do not jump there.
ast2firm.c