diff options
author | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 16:51:41 +0000 |
---|---|---|
committer | davidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 16:51:41 +0000 |
commit | 19bcf5214614bfc4322ffbe3d93c2fbcf6c22c26 (patch) | |
tree | 169e66302796b1a698328523a598d07c824939db /gcc/tree-inline.h | |
parent | f44e3dd1108813524120827780a45f23196a4802 (diff) | |
download | gcc-19bcf5214614bfc4322ffbe3d93c2fbcf6c22c26.tar.gz |
Fix to PR41012
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150703 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r-- | gcc/tree-inline.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h index 542eb729727..76ac17adcee 100644 --- a/gcc/tree-inline.h +++ b/gcc/tree-inline.h @@ -24,6 +24,7 @@ along with GCC; see the file COPYING3. If not see #include "pointer-set.h" +struct cgraph_edge; /* Indicate the desired behavior wrt call graph edges. We can either duplicate the edge (inlining, cloning), move the edge (versioning, @@ -170,7 +171,7 @@ int estimate_num_insns (gimple, eni_weights *); int estimate_num_insns_fn (tree, eni_weights *); int count_insns_seq (gimple_seq, eni_weights *); bool tree_versionable_function_p (tree); -bool tree_can_inline_p (tree, tree); +bool tree_can_inline_p (struct cgraph_edge *e); extern gimple_seq remap_gimple_seq (gimple_seq, copy_body_data *); extern tree remap_decl (tree decl, copy_body_data *id); |