diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-09 15:51:16 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-09 15:51:16 +0000 |
commit | 11d0d7f155efc46f0e345cb4d918347811bbc43f (patch) | |
tree | 4d8251ebe3d88dcc52aaebb1ef776409b3fddd15 /gcc/tree-inline.h | |
parent | e0e9d5aa5ff5285c517aec4e284ca5b2034e2ad0 (diff) | |
download | gcc-11d0d7f155efc46f0e345cb4d918347811bbc43f.tar.gz |
* Merge from mainline rev 150253:151506.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/transactional-memory@151563 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r-- | gcc/tree-inline.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h index dad91f96d11..c00987032c0 100644 --- a/gcc/tree-inline.h +++ b/gcc/tree-inline.h @@ -22,8 +22,9 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_TREE_INLINE_H #define GCC_TREE_INLINE_H -#include "pointer-set.h" +#include "gimple.h" +struct cgraph_edge; /* Indicate the desired behavior wrt call graph edges. We can either duplicate the edge (inlining, cloning), move the edge (versioning, @@ -116,6 +117,15 @@ typedef struct copy_body_data /* Entry basic block to currently copied body. */ struct basic_block_def *entry_bb; + + /* Debug statements that need processing. */ + VEC(gimple,heap) *debug_stmts; + + /* A map from local declarations in the inlined function to + equivalents in the function into which it is being inlined, where + the originals have been mapped to a value rather than to a + variable. */ + struct pointer_map_t *debug_map; } copy_body_data; /* Weights of constructions for estimate_num_insns. */ @@ -173,7 +183,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); |