aboutsummaryrefslogtreecommitdiff
path: root/gcc/integrate.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-12-16 17:50:29 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-12-16 17:50:29 +0000
commita97901e608d0e3233e28a6d8e39d3124d661a650 (patch)
tree0e496457c98d2aabb71fdf3add8cb1bb884dc210 /gcc/integrate.h
parent0d9484c5ad47e319a075c5c091634b8adc3b9412 (diff)
downloadgcc-a97901e608d0e3233e28a6d8e39d3124d661a650.zip
gcc-a97901e608d0e3233e28a6d8e39d3124d661a650.tar.gz
gcc-a97901e608d0e3233e28a6d8e39d3124d661a650.tar.bz2
Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
* Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H. * function.c (insert_block_after_note): Remove. (retrofit_block): Likewise. (identify_blocks): Fix indentation. (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END. * function.h (insert_block_after_note): Remove prototype. (retrofit_block): Likewise. * integrate.c (expand_inline_function): Don't call find_loop_tree_blocks. Use expand_start_bindings_and_block, not just expand_start_bindings. Use the block_map to remap old NOTE_BLOCKs to new ones. (integrate_decl_tree): Keep track of remapped blocks. * integrate.h (struct inline_remap): Add block_map. * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set NOTE_BLOCK on the notes. (expand_start_bindings): Rename to ... (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK. (expand_end_bindings): Set NOTE_BLOCK. * toplev.c (rest_of_compilation): In function-at-a-time-mode, reconstruct the BLOCK tree. * tree.h (expand_start_bindings): Macroize. Call ... (expand_start_bindings_and_block): New function. * optimize.c (struct inline_data): Remove scope_stmt. (remap_block): Don't use insert_block_after_note. Don't update scope_stmt. (expand_call_inline): Don't update scope_stmt. (optimize_function): Don't initialize scope_stmt. * semantics.c (expand_stmt): Set NOTE_BLOCK for newly emitted NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END notes. From-SVN: r30982
Diffstat (limited to 'gcc/integrate.h')
-rw-r--r--gcc/integrate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/integrate.h b/gcc/integrate.h
index 88bcd53..4cc75fa 100644
--- a/gcc/integrate.h
+++ b/gcc/integrate.h
@@ -42,6 +42,8 @@ struct inline_remap
union tree_node *fndecl;
/* Place to put insns needed at start of function. */
rtx insns_at_start;
+ /* Mapping from old BLOCKs to new BLOCKs. */
+ varray_type block_map;
/* Mapping from old registers to new registers.
It is allocated and deallocated in `expand_inline_function' */
rtx *reg_map;