aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2004-05-15 23:07:53 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-05-15 23:07:53 +0000
commit673fda6b48b3d89767d6fdded61dfe41541ab8e9 (patch)
tree5fdd2f53add78078e45a25262bd46f81d4cf8864 /gcc/objc
parentfb0e7ec09f246a5211b3490753989a3e5e78c481 (diff)
downloadgcc-673fda6b48b3d89767d6fdded61dfe41541ab8e9.zip
gcc-673fda6b48b3d89767d6fdded61dfe41541ab8e9.tar.gz
gcc-673fda6b48b3d89767d6fdded61dfe41541ab8e9.tar.bz2
c-gimplify.c (c_genericize): Replace calls via (*lang_hooks.foo) with lang_hooks.foo.
* c-gimplify.c (c_genericize): Replace calls via (*lang_hooks.foo) with lang_hooks.foo. * c-parse.in <expr_no_commas>: Likewise. <if_prefix>: Likewise. <select_or_iter_stmt>: Likewise. * expr.c (expand_var, expand_expr_real_1): Likewise. * expr.h (expand_expr): Make it a static inline function. Move prototype for expand_expr_real up before this. * fold-const.c (fold_relational_hi_lo, fold_relational_const): Likewise. * gimplify.c (gimple_boolify, gimplify_addr_expr, gimplify_asm_expr, gimplify_expr): Likewise. * tree-cfg.c (dump_tree_cfg, dump_cfg_stats, tree_cfg2vcg, dump_function_to_file): Likewise. * tree-dfa.c (dump_immediate_uses, dump_dfa_stats): Likewise. * tree-inline.c (remap_block, save_body, walk_tree): Likewise. * tree-into-ssa.c (dump_tree_ssa): Likewise. * tree-mudflap.c (mf_varname_tree, mf_file_function_line_tree): Likewise. * tree-optimize.c (execute_one_pass): Likewise. * tree-pretty-print.c (dump_generic_bb_buff): Likewise. * tree-ssa-alias.c (dump_alias_stats, dump_alias_info): Likewise. objc/ * objc-act.c (objc_build_try_enter_fragment, objc_build_try_epilogue, objc_build_catch_stmt, objc_build_finally_prologue): Replace calls via (*lang_hooks.foo) with lang_hooks.foo (). From-SVN: r81907
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index bec59c0..385360a 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -2825,8 +2825,7 @@ objc_build_try_enter_fragment (void)
cond = build_unary_op (TRUTH_NOT_EXPR,
build_function_call (objc_setjmp_decl, func_params),
0);
- c_expand_start_cond ((*lang_hooks.truthvalue_conversion) (cond),
- 0, if_stmt);
+ c_expand_start_cond (lang_hooks.truthvalue_conversion (cond), 0, if_stmt);
objc_enter_block ();
}
@@ -2953,7 +2952,7 @@ objc_build_try_epilogue (int also_catch_prologue)
val_stack_push (&catch_count_stack, 1);
if_stmt = c_begin_if_stmt ();
if_nesting_count++;
- c_expand_start_cond ((*lang_hooks.truthvalue_conversion) (boolean_false_node),
+ c_expand_start_cond (lang_hooks.truthvalue_conversion (boolean_false_node),
0, if_stmt);
objc_enter_block ();
@@ -3043,8 +3042,7 @@ objc_build_catch_stmt (tree catch_expr)
cond = build_function_call (objc_exception_match_decl, func_params);
}
- c_expand_start_cond ((*lang_hooks.truthvalue_conversion) (cond),
- 0, if_stmt);
+ c_expand_start_cond (lang_hooks.truthvalue_conversion (cond), 0, if_stmt);
objc_enter_block ();
objc_declare_variable (RID_REGISTER, var_name,
build_pointer_type (var_type),
@@ -3113,10 +3111,10 @@ objc_build_finally_prologue (void)
tree if_stmt = c_begin_if_stmt ();
if_nesting_count++;
- c_expand_start_cond ((*lang_hooks.truthvalue_conversion)
- (build_unary_op
- (TRUTH_NOT_EXPR,
- TREE_VALUE (objc_rethrow_exception), 0)),
+ c_expand_start_cond (lang_hooks.truthvalue_conversion
+ (build_unary_op (TRUTH_NOT_EXPR,
+ TREE_VALUE (objc_rethrow_exception),
+ 0)),
0, if_stmt);
objc_enter_block ();
objc_build_try_exit_fragment ();
@@ -3141,7 +3139,7 @@ objc_build_finally_epilogue (void)
if_nesting_count++;
c_expand_start_cond
- ((*lang_hooks.truthvalue_conversion) (TREE_VALUE (objc_rethrow_exception)),
+ (lang_hooks.truthvalue_conversion (TREE_VALUE (objc_rethrow_exception)),
0, if_stmt);
objc_enter_block ();
objc_build_throw_stmt (TREE_VALUE (objc_rethrow_exception));