aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
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/gimplify.c
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/gimplify.c')
-rw-r--r--gcc/gimplify.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index 787dbc3..907d443 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -2229,7 +2229,7 @@ gimple_boolify (tree expr)
/* If this is the predicate of a COND_EXPR, it might not even be a
truthvalue yet. */
- expr = (*lang_hooks.truthvalue_conversion) (expr);
+ expr = lang_hooks.truthvalue_conversion (expr);
switch (TREE_CODE (expr))
{
@@ -2693,7 +2693,7 @@ gimplify_addr_expr (tree *expr_p, tree *pre_p, tree *post_p)
recompute_tree_invarant_for_addr_expr (expr);
/* Mark the RHS addressable. */
- (*lang_hooks.mark_addressable) (TREE_OPERAND (expr, 0));
+ lang_hooks.mark_addressable (TREE_OPERAND (expr, 0));
}
break;
}
@@ -2736,7 +2736,7 @@ gimplify_asm_expr (tree *expr_p, tree *pre_p, tree *post_p)
&allows_mem, &allows_reg, &is_inout);
if (!allows_reg && allows_mem)
- (*lang_hooks.mark_addressable) (TREE_VALUE (link));
+ lang_hooks.mark_addressable (TREE_VALUE (link));
tret = gimplify_expr (&TREE_VALUE (link), pre_p, post_p,
is_inout ? is_gimple_min_lval : is_gimple_lvalue,
@@ -2786,7 +2786,7 @@ gimplify_asm_expr (tree *expr_p, tree *pre_p, tree *post_p)
/* If the operand is a memory input, it should be an lvalue. */
if (!allows_reg && allows_mem)
{
- (*lang_hooks.mark_addressable) (TREE_VALUE (link));
+ lang_hooks.mark_addressable (TREE_VALUE (link));
tret = gimplify_expr (&TREE_VALUE (link), pre_p, post_p,
is_gimple_lvalue, fb_lvalue | fb_mayfail);
if (tret == GS_ERROR)
@@ -3100,7 +3100,7 @@ gimplify_expr (tree *expr_p, tree *pre_p, tree *post_p,
}
/* Do any language-specific gimplification. */
- ret = (*lang_hooks.gimplify_expr) (expr_p, pre_p, post_p);
+ ret = lang_hooks.gimplify_expr (expr_p, pre_p, post_p);
if (ret == GS_OK)
{
if (*expr_p == NULL_TREE)