diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-20 13:22:49 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-20 13:22:49 +0000 |
commit | 1a8bf94d3197b82fc41436b2a3043f339536f603 (patch) | |
tree | 4d66b707d35b8c679d14f070a4cc42b15a95d2a8 /gcc/reorg.c | |
parent | 5cc6d735d73e4810078b05e651751ba7b84539be (diff) | |
download | gcc-1a8bf94d3197b82fc41436b2a3043f339536f603.tar.gz |
2008-03-20 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r133366
* gcc/basilys.c: pass_basilys is now a gimple_opt_pass.
* gcc/tree-pass.h: pass_basilys is now a gimple_opt_pass.
pass_compiler_probe now declared here.
* gcc/passes.c: using new struct-s for passes.
* gcc/compiler-probe.h: moved pass_compiler_probe from here to tree-pass.h
* gcc/compiler-probe.c: pass_compiler_probe is a gimple_opt_pass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@133372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 985c118bc8c..8db19b49d57 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -4066,8 +4066,10 @@ rest_of_handle_delay_slots (void) return 0; } -struct tree_opt_pass pass_delay_slots = +struct rtl_opt_pass pass_delay_slots = { + { + RTL_PASS, "dbr", /* name */ gate_handle_delay_slots, /* gate */ rest_of_handle_delay_slots, /* execute */ @@ -4080,8 +4082,8 @@ struct tree_opt_pass pass_delay_slots = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_dump_func | - TODO_ggc_collect, /* todo_flags_finish */ - 'd' /* letter */ + TODO_ggc_collect /* todo_flags_finish */ + } }; /* Machine dependent reorg pass. */ @@ -4099,8 +4101,10 @@ rest_of_handle_machine_reorg (void) return 0; } -struct tree_opt_pass pass_machine_reorg = +struct rtl_opt_pass pass_machine_reorg = { + { + RTL_PASS, "mach", /* name */ gate_handle_machine_reorg, /* gate */ rest_of_handle_machine_reorg, /* execute */ @@ -4113,6 +4117,6 @@ struct tree_opt_pass pass_machine_reorg = 0, /* properties_destroyed */ 0, /* todo_flags_start */ TODO_dump_func | - TODO_ggc_collect, /* todo_flags_finish */ - 'M' /* letter */ + TODO_ggc_collect /* todo_flags_finish */ + } }; |