revert: alpha.c (alpha_output_mi_thunk_osf): Allocate insn locators before emit_insn is called.

2009-09-04  Uros Bizjak  <ubizjak@gmail.com>

	Revert:
	2009-08-18  Uros Bizjak  <ubizjak@gmail.com>

	* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn
	locators before emit_insn is called.

From-SVN: r151441
This commit is contained in:
Uros Bizjak 2009-09-04 21:57:51 +02:00 committed by Uros Bizjak
parent 1fe281160d
commit e139ab343b
2 changed files with 9 additions and 2 deletions
gcc
ChangeLog
config/alpha

@ -1,3 +1,11 @@
2009-09-04 Uros Bizjak <ubizjak@gmail.com>
Revert:
2009-08-18 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn
locators before emit_insn is called.
2009-09-04 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/41241

@ -8663,8 +8663,6 @@ alpha_output_mi_thunk_osf (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
HOST_WIDE_INT hi, lo;
rtx this_rtx, insn, funexp;
insn_locators_alloc ();
/* We always require a valid GP. */
emit_insn (gen_prologue_ldgp ());
emit_note (NOTE_INSN_PROLOGUE_END);
@ -8741,6 +8739,7 @@ alpha_output_mi_thunk_osf (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED,
instruction scheduling worth while. Note that use_thunk calls
assemble_start_function and assemble_end_function. */
insn = get_insns ();
insn_locators_alloc ();
shorten_branches (insn);
final_start_function (insn, file, 1);
final (insn, file, 1);