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/cgraphbuild.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/cgraphbuild.c')
-rw-r--r-- | gcc/cgraphbuild.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gcc/cgraphbuild.c b/gcc/cgraphbuild.c index 2f8d3b07051..832fa6eab90 100644 --- a/gcc/cgraphbuild.c +++ b/gcc/cgraphbuild.c @@ -170,8 +170,10 @@ build_cgraph_edges (void) return 0; } -struct tree_opt_pass pass_build_cgraph_edges = +struct gimple_opt_pass pass_build_cgraph_edges = { + { + GIMPLE_PASS, NULL, /* name */ NULL, /* gate */ build_cgraph_edges, /* execute */ @@ -183,8 +185,8 @@ struct tree_opt_pass pass_build_cgraph_edges = 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ - 0, /* todo_flags_finish */ - 0 /* letter */ + 0 /* todo_flags_finish */ + } }; /* Record references to functions and other variables present in the @@ -238,8 +240,10 @@ rebuild_cgraph_edges (void) return 0; } -struct tree_opt_pass pass_rebuild_cgraph_edges = +struct gimple_opt_pass pass_rebuild_cgraph_edges = { + { + GIMPLE_PASS, NULL, /* name */ NULL, /* gate */ rebuild_cgraph_edges, /* execute */ @@ -252,5 +256,5 @@ struct tree_opt_pass pass_rebuild_cgraph_edges = 0, /* properties_destroyed */ 0, /* todo_flags_start */ 0, /* todo_flags_finish */ - 0 /* letter */ + } }; |