diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-14 22:26:14 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-14 22:26:14 +0000 |
commit | dc24ddbd63bf6d4b7310ef5913c4566cee2bff9b (patch) | |
tree | 0e3d992e1d5de0e7bb1692b921740b6575918627 /gcc/tree.c | |
parent | 33bfa393d8a5640826fa8a71149a489157ba53e4 (diff) | |
download | gcc-dc24ddbd63bf6d4b7310ef5913c4566cee2bff9b.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79481 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index bc07652c0fa..8238ea407ab 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -131,7 +131,7 @@ tree decl_assembler_name (tree decl) { if (!DECL_ASSEMBLER_NAME_SET_P (decl)) - (*lang_hooks.set_decl_assembler_name) (decl); + lang_hooks.set_decl_assembler_name (decl); return DECL_CHECK (decl)->decl.assembler_name; } @@ -171,7 +171,7 @@ tree_size (tree node) case VECTOR_CST: return sizeof (struct tree_vector); case STRING_CST: return sizeof (struct tree_string); default: - return (*lang_hooks.tree_size) (code); + return lang_hooks.tree_size (code); } case 'x': /* something random, like an identifier. */ @@ -187,7 +187,7 @@ tree_size (tree node) case PLACEHOLDER_EXPR: return sizeof (struct tree_common); default: - return (*lang_hooks.tree_size) (code); + return lang_hooks.tree_size (code); } default: @@ -1119,7 +1119,7 @@ size_in_bytes (tree type) if (t == 0) { - (*lang_hooks.types.incomplete_type_error) (NULL_TREE, type); + lang_hooks.types.incomplete_type_error (NULL_TREE, type); return size_zero_node; } @@ -1313,7 +1313,7 @@ staticp (tree arg) default: if ((unsigned int) TREE_CODE (arg) >= (unsigned int) LAST_AND_UNUSED_TREE_CODE) - return (*lang_hooks.staticp) (arg); + return lang_hooks.staticp (arg); else return 0; } @@ -1653,7 +1653,7 @@ unsafe_for_reeval (tree expr) return exp ? unsafe_for_reeval (exp) : 0; default: - tmp = (*lang_hooks.unsafe_for_reeval) (expr); + tmp = lang_hooks.unsafe_for_reeval (expr); if (tmp >= 0) return tmp; break; @@ -4290,7 +4290,7 @@ get_unwidened (tree op, tree for_type) = tree_low_cst (DECL_SIZE (TREE_OPERAND (op, 1)), 1); int unsignedp = (TREE_UNSIGNED (TREE_OPERAND (op, 1)) || TREE_UNSIGNED (TREE_TYPE (TREE_OPERAND (op, 1)))); - type = (*lang_hooks.types.type_for_size) (innerprec, unsignedp); + type = lang_hooks.types.type_for_size (innerprec, unsignedp); /* We can get this structure field in the narrowest type it fits in. If FOR_TYPE is 0, do this only for a field that matches the @@ -4375,7 +4375,7 @@ get_narrower (tree op, int *unsignedp_ptr) = tree_low_cst (DECL_SIZE (TREE_OPERAND (op, 1)), 1); int unsignedp = (TREE_UNSIGNED (TREE_OPERAND (op, 1)) || TREE_UNSIGNED (TREE_TYPE (TREE_OPERAND (op, 1)))); - tree type = (*lang_hooks.types.type_for_size) (innerprec, unsignedp); + tree type = lang_hooks.types.type_for_size (innerprec, unsignedp); /* We can get this structure field in a narrower type that fits it, but the resulting extension to its nominal type (a fullword type) @@ -4539,7 +4539,7 @@ variably_modified_type_p (tree type) /* The current language may have other cases to check, but in general, all other types are not variably modified. */ - return (*lang_hooks.tree_inlining.var_mod_type_p) (type); + return lang_hooks.tree_inlining.var_mod_type_p (type); } /* Given a DECL or TYPE, return the scope in which it was declared, or @@ -4660,7 +4660,7 @@ get_callee_fndecl (tree call) /* We couldn't figure out what was being called. Maybe the front end has some idea. */ - return (*lang_hooks.lang_get_callee_fndecl) (call); + return lang_hooks.lang_get_callee_fndecl (call); } /* Print debugging information about tree nodes generated during the compile, @@ -4693,7 +4693,7 @@ dump_tree_statistics (void) fprintf (stderr, "(No per-node statistics)\n"); #endif print_type_hash_statistics (); - (*lang_hooks.print_statistics) (); + lang_hooks.print_statistics (); } #define FILE_FUNCTION_FORMAT "_GLOBAL__%s_%s" |