optimize.c (inline_data): Remove fns_top.
* optimize.c (inline_data): Remove fns_top. Add scope_stmt. Add in_target_cleanup_p. (remap_decl): New function. (remap_block): Likewise. (copy_scope_stmt): Likewise. (copy_body_r): Use remap_decl and copy_scope_stmt. (copy_body): Use VARRAY_TOP_TREE. (initialize_inlined_parameters): Likewise. (declare_return_variable): Likewise. (inlinable_function_p): Check flag_inline_trees. (expand_call_inline): Handle SCOPE_STMTs and TARGET_EXPRs specially. Use VARRAY_PUSH_TREE. Create a BLOCK for the parameters of the inlined function. (optimize_function): Prevent recursion into partially complete functions. From-SVN: r30781
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment