diff options
author | Xinliang David Li <davidxl@google.com> | 2009-08-12 16:51:41 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@gcc.gnu.org> | 2009-08-12 16:51:41 +0000 |
commit | 6eb29714e4e42bb0ce53759b2567a71b96cd5c8e (patch) | |
tree | 169e66302796b1a698328523a598d07c824939db /gcc/tree-inline.h | |
parent | e8e76230ed27bb3a942c0db135089f905c43684f (diff) | |
download | gcc-6eb29714e4e42bb0ce53759b2567a71b96cd5c8e.zip gcc-6eb29714e4e42bb0ce53759b2567a71b96cd5c8e.tar.gz gcc-6eb29714e4e42bb0ce53759b2567a71b96cd5c8e.tar.bz2 |
Fix to PR41012
From-SVN: r150703
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 542eb72..76ac17a 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); |