varasm.c (assemble_variable): Remove call to lang_hooks.decls.prepare_assemble_variable.

2007-04-08  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * varasm.c (assemble_variable): Remove call to
        lang_hooks.decls.prepare_assemble_variable.
        * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): Kill.
        (LANG_HOOKS_DECLS): Remove LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE.
        * langhooks.h (lang_hooks_for_decls): Remove
        prepare_assemble_variable.

From-SVN: r123663
This commit is contained in:
Andrew Pinski 2007-04-08 19:30:06 +00:00 committed by Andrew Pinski
parent 77c1632f35
commit 136cdb2250
4 changed files with 9 additions and 8 deletions

View File

@ -1,3 +1,12 @@
2007-04-08 Andrew Pinski <andrew_pinski@playstation.sony.com>
* varasm.c (assemble_variable): Remove call to
lang_hooks.decls.prepare_assemble_variable.
* langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): Kill.
(LANG_HOOKS_DECLS): Remove LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE.
* langhooks.h (lang_hooks_for_decls): Remove
prepare_assemble_variable.
2007-04-08 Mike Stump <mrs@apple.com>
* config/i386/i386.c: Use inc/dec on Core2.

View File

@ -228,7 +228,6 @@ extern tree lhd_make_node (enum tree_code);
#define LANG_HOOKS_GETDECLS getdecls
#define LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL lhd_warn_unused_global_decl
#define LANG_HOOKS_WRITE_GLOBALS write_global_declarations
#define LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE NULL
#define LANG_HOOKS_DECL_OK_FOR_SIBCALL lhd_decl_ok_for_sibcall
#define LANG_HOOKS_COMDAT_GROUP lhd_comdat_group
#define LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE hook_bool_tree_false
@ -247,7 +246,6 @@ extern tree lhd_make_node (enum tree_code);
LANG_HOOKS_GETDECLS, \
LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL, \
LANG_HOOKS_WRITE_GLOBALS, \
LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE, \
LANG_HOOKS_DECL_OK_FOR_SIBCALL, \
LANG_HOOKS_COMDAT_GROUP, \
LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE, \

View File

@ -180,9 +180,6 @@ struct lang_hooks_for_decls
of compilation */
void (*final_write_globals) (void);
/* Do necessary preparations before assemble_variable can proceed. */
void (*prepare_assemble_variable) (tree);
/* True if this decl may be called via a sibcall. */
bool (*ok_for_sibcall) (tree);

View File

@ -2022,9 +2022,6 @@ assemble_variable (tree decl, int top_level ATTRIBUTE_UNUSED,
decl = to;
}
if (lang_hooks.decls.prepare_assemble_variable)
lang_hooks.decls.prepare_assemble_variable (decl);
last_assemble_variable_decl = 0;
/* Normally no need to say anything here for external references,