aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorgarritfra <garritfranke@gmail.com>2020-06-18 16:09:14 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-06-18 21:44:17 +0200
commit27caae403c96b4e683c1816cdcc8b6776f02f82b (patch)
tree892b8c237bb017bf0c17b99153b64aec5d2288ea
parent31f0c22032d295f6a0cd1e068b9a9d53be8adcbf (diff)
downloadsparse-27caae403c96b4e683c1816cdcc8b6776f02f82b.tar.gz
ir-validate: remove orphan comments
These comments were wrongly added and then forgotten. So, remove them. Signed-off-by: Garrit Franke <garritfranke@gmail.com> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--optimize.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/optimize.c b/optimize.c
index e8cb7fc3..31d94e61 100644
--- a/optimize.c
+++ b/optimize.c
@@ -75,7 +75,6 @@ repeat:
*/
do {
simplify_memops(ep);
- //ir_validate(ep);
do {
repeat_phase = 0;
clean_up_insns(ep);
@@ -86,15 +85,11 @@ repeat:
if (repeat_phase & REPEAT_SYMBOL_CLEANUP)
simplify_memops(ep);
- //ir_validate(ep);
} while (repeat_phase);
pack_basic_blocks(ep);
- //ir_validate(ep);
if (repeat_phase & REPEAT_CFG_CLEANUP)
kill_unreachable_bbs(ep);
- //ir_validate(ep);
} while (repeat_phase);
- //ir_validate(ep);
vrfy_flow(ep);
@@ -111,13 +106,11 @@ repeat:
* again
*/
if (simplify_flow(ep)) {
- //ir_validate(ep);
clear_liveness(ep);
if (repeat_phase & REPEAT_CFG_CLEANUP)
kill_unreachable_bbs(ep);
goto repeat;
}
- //ir_validate(ep);
/* Finally, add deathnotes to pseudos now that we have them */
if (dbg_dead)