summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-30 00:47:49 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-30 00:47:49 +0000
commitb3d24a23ead8e87c9b3c20c5975e350ee92f397d (patch)
tree61f3a41e0903263a69773a750d50202e1e71289e /gcc/function.h
parenta19c36640c225f11bc278abdcb4b2e74e0fa0ae1 (diff)
downloadgcc-b3d24a23ead8e87c9b3c20c5975e350ee92f397d.tar.gz
* function.h (struct function): Add saved blocks/unexpanded var list.
* gimple-low.c (record_vars): Insert only VAR_DECLs. * tree-inline.c (add_lexical_block): Declare; do not clear sublocks. (remap_decl): Do not declare vars. (remap_block): Do not care inserting blocks. (remap_blocks): New function. (copy_body_r): Update debug info. (expand_call_inline): Duplicate callee block tree into caller; copy all the unexpanded_var_list. (save_body): Save unexpanded_var_list and blocks. * tree-optimize.c (tree_rest_of_optimization): Restore blocks/unexpanded_var_list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101449 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 2d59d235141..11b97c1fc2b 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -178,6 +178,8 @@ struct function GTY(())
inlining */
tree saved_args;
tree saved_static_chain_decl;
+ tree saved_blocks;
+ tree saved_unexpanded_var_list;
/* For function.c. */