aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2010-05-04 19:34:01 +0200
committerMartin Jambor <jamborm@gcc.gnu.org>2010-05-04 19:34:01 +0200
commit6cbd3b6a699912ff879d13c0fb5ab3f4b244943f (patch)
treefbf0e8c6815f54c2f72fc7d9a758ef50fc3da37e /gcc/tree.c
parented24bfdf685375d4f82f7da01c3233e8f0898b88 (diff)
downloadgcc-6cbd3b6a699912ff879d13c0fb5ab3f4b244943f.zip
gcc-6cbd3b6a699912ff879d13c0fb5ab3f4b244943f.tar.gz
gcc-6cbd3b6a699912ff879d13c0fb5ab3f4b244943f.tar.bz2
tree-sra.c (build_access_from_expr_1): The first parameter type changed to simple tree.
2010-05-04 Martin Jambor <mjambor@suse.cz> * tree-sra.c (build_access_from_expr_1): The first parameter type changed to simple tree. (build_access_from_expr): Likewise, gsi parameter was eliminated. (scan_assign_result): Renamed to assignment_mod_result, enum elements renamed as well. (build_accesses_from_assign): Removed all parameters except for a simple gimple statement. Now returns a simple bool. (scan_function): All non-analysis parts moved to separate functions sra_modify_function_body and ipa_sra_modify_function_body. Removed all parameters and updated both callers. (sra_modify_expr): Removed parameter data. (sra_modify_function_body): New function. (perform_intra_sra): Call sra_modify_function_body to modify the function body. (replace_removed_params_ssa_names): Parameter data changed into adjustments vector. (sra_ipa_modify_expr): Likewise. Also removed unused parameter gsi and changed the parameter dont_convert to convert with the opposite meaning. (sra_ipa_modify_assign): Parameter data changed into adjustments vector, return value changed to bool. (ipa_sra_modify_function_body): New function. (sra_ipa_reset_debug_stmts): Updated a comment. (modify_function): Use ipa_sra_modify_function_body to modify function body. From-SVN: r159038
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions