Commit Graph

5 Commits

Author SHA1 Message Date
Andrea Gussoni b214dd1921 Enforce check-conventions.sh
Replicate this commit 72f836d30079c191d1c30e185114c4c0a0f914df made by
Pietro.
2019-11-20 15:16:17 +01:00
Pietro Fezzardi 569ec5658e Add and enforce -Wall and -Werror 2019-11-20 15:16:14 +01:00
Pietro Fezzardi b058c326c6 Enforce coding style 2019-05-08 17:40:53 +02:00
Andrea Gussoni 27192a251f Improved IfEqualNode then and else match
Improved the method for matching the `then` and `else` branches when
creating the AST node for the `IfEqualNode`.

Also converted the name of an auxiliary pass to the convention.
2019-03-08 15:44:29 +01:00
Andrea Gussoni c05974478c Add RemoveUnexpectedPCPass
Add a pass which removes the `unexpectedpc` as successor of the `switch`
instructions. This simplifies the subsequent analyses.

This pass also removes the unreachable basic blocks dandling around (as
the `unexpectedpc` and `anypc` blocks when they are not needed).
2019-03-08 15:31:30 +01:00