diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-03-14 22:26:14 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-03-14 22:26:14 +0000 |
commit | ae2bcd98fa6d0e389638e2c3cf4cf8a6c79809b4 (patch) | |
tree | 0e3d992e1d5de0e7bb1692b921740b6575918627 /gcc/varasm.c | |
parent | 89acbae0bce29e5f7168deb51e5f86ffdbe28d5f (diff) | |
download | gcc-ae2bcd98fa6d0e389638e2c3cf4cf8a6c79809b4.zip gcc-ae2bcd98fa6d0e389638e2c3cf4cf8a6c79809b4.tar.gz gcc-ae2bcd98fa6d0e389638e2c3cf4cf8a6c79809b4.tar.bz2 |
alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) () with lang_hooks.foo ().
* alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) ()
with lang_hooks.foo ().
* builtins.c (expand_builtin_va_arg): Likewise.
* c-common.c (fname_as_string, c_common_truthvalue_conversion,
c_common_type_for_mode, c_common_nodes_and_builtins,
handle_mode_attribute, handle_vector_size_attribute): Likewise.
* c-convert.c (convert): Likewise.
* c-format.c (check_format_types): Likewise.
* c-objc-common.c (c_tree_printer): Likewise.
* c-typeck.c (build_unary_op, build_conditional_expr,
build_binary_op): Likewise.
* calls.c (try_to_integrate, expand_call,
emit_library_call_value_1): Likewise.
* cgraph.c (cgraph_node_name, cgraph_function_possibly_inlined_p):
Likewise.
* cgraphunit.c (record_call_1, cgraph_analyze_function,
cgraph_expand_function): Likewise.
* convert.c (convert_to_pointer, convert_to_integer): Likewise.
* coverage.c (build_fn_info_type, build_ctr_info_type,
build_gcov_info, create_coverage): Likewise.
* dbxout.c (dbxout_init): Likewise.
* diagnostic.c (diagnostic_report_current_function): Likewise.
* dojump.c (do_jump): Likewise.
* dwarf2out.c (dwarf2_name): Likewise.
* except.c (init_eh): Likewise.
* explow.c (expr_size, int_expr_size): Likewise.
* expmed.c (make_tree, const_mult_add_overflow_p, expand_mult_add):
Likewise.
* expr.c (store_expr, store_constructor, safe_from_p,
expand_expr_real, do_store_flag, try_casesi): Likewise.
* function.c (push_function_context_to, pop_function_context_from,
free_after_parsing, assign_stack_local_1, assign_stack_temp_for_type,
put_var_into_stack, allocate_struct_function, current_function_name):
Likewise.
* integrate.c (copy_decl_for_inlining, expand_inline_function):
Likewise.
* langhooks.c (lhd_clear_binding_stack, write_global_declarations,
lhd_print_error_function): Likewise.
* opts.c (handle_option, decode_options): Likewise.
* passes.c (open_dump_file): Likewise.
* print-tree.c (print_node): Likewise.
* stmt.c (expand_fixup, fixup_gotos, expand_asm_operands,
expand_decl_cleanup, emit_case_nodes): Likewise.
* stor-layout.c (variable_size): Likewise.
* toplev.c (announce_function, wrapup_global_declarations,
check_global_declarations, compile_file, default_tree_printer,
process_options, lang_dependent_init, finalize): Likewise.
* tree-dump.c (dequeue_and_dump): Likewise.
* tree-inline.c (remap_decl, remap_block, copy_body_r,
initialize_inlined_parameters, declare_return_variable,
inlinable_function_p, expand_call_inline, optimize_inline_calls,
walk_tree, copy_tree_r): Likewise.
* tree-optimize.c (tree_rest_of_compilation): Likewise.
* tree.c (decl_assembler_name, tree_size, size_in_bytes, staticp,
unsafe_for_reeval, get_unwidened, get_narrower, get_callee_fndecl,
variably_modified_type_p, dump_tree_statistics): Likewise.
* varasm.c (assemble_variable, compare_constant, copy_constant,
force_const_mem, compute_reloc_for_constant, output_constant,
output_addressed_constants, initializer_constant_valid_p): Likewise.
From-SVN: r79481
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 6a32ccc..9cf8b94 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1297,7 +1297,7 @@ assemble_variable (tree decl, int top_level ATTRIBUTE_UNUSED, rtx decl_rtl; if (lang_hooks.decls.prepare_assemble_variable) - (*lang_hooks.decls.prepare_assemble_variable) (decl); + lang_hooks.decls.prepare_assemble_variable (decl); last_assemble_variable_decl = 0; @@ -2250,8 +2250,8 @@ compare_constant (const tree t1, const tree t2) default: { tree nt1, nt2; - nt1 = (*lang_hooks.expand_constant) (t1); - nt2 = (*lang_hooks.expand_constant) (t2); + nt1 = lang_hooks.expand_constant (t1); + nt2 = lang_hooks.expand_constant (t2); if (nt1 != t1 || nt2 != t2) return compare_constant (nt1, nt2); else @@ -2322,7 +2322,7 @@ copy_constant (tree exp) default: { tree t; - t = (*lang_hooks.expand_constant) (exp); + t = lang_hooks.expand_constant (exp); if (t != exp) return copy_constant (t); else @@ -2745,7 +2745,7 @@ force_const_mem (enum machine_mode mode, rtx x) align = GET_MODE_ALIGNMENT (mode == VOIDmode ? word_mode : mode); #ifdef CONSTANT_ALIGNMENT { - tree type = (*lang_hooks.types.type_for_mode) (mode, 0); + tree type = lang_hooks.types.type_for_mode (mode, 0); if (type != NULL_TREE) align = CONSTANT_ALIGNMENT (make_tree (type, x), align); } @@ -2789,7 +2789,7 @@ force_const_mem (enum machine_mode mode, rtx x) /* Construct the MEM. */ desc->mem = def = gen_rtx_MEM (mode, symbol); - set_mem_attributes (def, (*lang_hooks.types.type_for_mode) (mode, 0), 1); + set_mem_attributes (def, lang_hooks.types.type_for_mode (mode, 0), 1); RTX_UNCHANGING_P (def) = 1; /* If we're dropping a label to the constant pool, make sure we @@ -3113,7 +3113,7 @@ compute_reloc_for_constant (tree exp) /* Give the front-end a chance to convert VALUE to something that looks more like a constant to the back-end. */ - exp = (*lang_hooks.expand_constant) (exp); + exp = lang_hooks.expand_constant (exp); switch (TREE_CODE (exp)) { @@ -3177,7 +3177,7 @@ output_addressed_constants (tree exp) /* Give the front-end a chance to convert VALUE to something that looks more like a constant to the back-end. */ - exp = (*lang_hooks.expand_constant) (exp); + exp = lang_hooks.expand_constant (exp); switch (TREE_CODE (exp)) { @@ -3233,7 +3233,7 @@ initializer_constant_valid_p (tree value, tree endtype) { /* Give the front-end a chance to convert VALUE to something that looks more like a constant to the back-end. */ - value = (*lang_hooks.expand_constant) (value); + value = lang_hooks.expand_constant (value); switch (TREE_CODE (value)) { @@ -3461,7 +3461,7 @@ output_constant (tree exp, unsigned HOST_WIDE_INT size, unsigned int align) /* Some front-ends use constants other than the standard language-independent varieties, but which may still be output directly. Give the front-end a chance to convert EXP to a language-independent representation. */ - exp = (*lang_hooks.expand_constant) (exp); + exp = lang_hooks.expand_constant (exp); if (size == 0 || flag_syntax_only) return; |