diff options
author | Jan Hubicka <jh@suse.cz> | 2007-01-04 09:56:05 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2007-01-04 08:56:05 +0000 |
commit | b8a00a4dcb742df10a4d3027fc274658c0330940 (patch) | |
tree | cc1c513083616555771818561214fc727235e351 /gcc/tree-inline.h | |
parent | fa9585134f6f58fa0d3da3ca4ad5493855aea2dc (diff) | |
download | gcc-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.h | 3 |
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. */ |