aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-01-04 09:56:05 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-01-04 08:56:05 +0000
commitb8a00a4dcb742df10a4d3027fc274658c0330940 (patch)
treecc1c513083616555771818561214fc727235e351 /gcc/tree-inline.h
parentfa9585134f6f58fa0d3da3ca4ad5493855aea2dc (diff)
downloadgcc-b8a00a4dcb742df10a4d3027fc274658c0330940.zip
gcc-b8a00a4dcb742df10a4d3027fc274658c0330940.tar.gz
gcc-b8a00a4dcb742df10a4d3027fc274658c0330940.tar.bz2
tree-inline.c (copy_bb): Insert new statements to statements_to_fold set.
* tree-inline.c (copy_bb): Insert new statements to statements_to_fold set. (fold_marked_statements): New function. (optimize_inline_calls, tree_function_versioning): Fold new statements. * tree-inline.h (copy_body_data): Add statemetns_to_fold. From-SVN: r120430
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r--gcc/tree-inline.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h
index 4755fbb..e756447 100644
--- a/gcc/tree-inline.h
+++ b/gcc/tree-inline.h
@@ -88,6 +88,9 @@ typedef struct copy_body_data
/* True if lang_hooks.decls.insert_block should be invoked when
duplicating BLOCK nodes. */
bool transform_lang_insert_block;
+
+ /* Statements that might be possibly folded. */
+ struct pointer_set_t *statements_to_fold;
} copy_body_data;
/* Function prototypes. */