summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-04 08:56:05 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-04 08:56:05 +0000
commit3e9045dd017e57db781b199aba6f2ad9f0313e7b (patch)
treecc1c513083616555771818561214fc727235e351 /gcc/tree-inline.h
parent894a47b43cc5eb4302f36c91b9d611b79256e98a (diff)
downloadgcc-3e9045dd017e57db781b199aba6f2ad9f0313e7b.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120430 138bc75d-0d04-0410-961f-82ee72b054a4
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 4755fbbf9fd..e7564478074 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. */