diff options
author | Matthias Braun <matze@braunis.de> | 2013-01-09 10:45:13 +0100 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2013-01-09 10:45:13 +0100 |
commit | a1546cd3f05d7e554ffaad0edb07d02ef7ab8e67 (patch) | |
tree | b6c943c0cfffcd3579c5bd751947883b6183cf93 | |
parent | 02dcb9aa80caa7c79628164886df6483c01be982 (diff) |
hack to disable on the fly optimisations during constructionssaconstr
-rw-r--r-- | main.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1415,6 +1415,15 @@ again: panic("compiling multiple files/translation units not possible"); } init_implicit_optimizations(); + /* HACK HACK HACK REMOVE ME + * this is only here for the ssaconstr paper it disables on-the-fly + * optimizations during graph constructions (but still enables them + * during the later compilation phases) */ + set_optimize(0); + set_opt_constant_folding(0); + set_opt_algebraic_simplification(0); + set_opt_cse(0); + translation_unit_to_firm(unit->ast); already_constructed_firm = true; timer_stop(t_construct); |