* method.c (use_thunk): Call init_insn_lengths.

From-SVN: r102817
This commit is contained in:
Michael Matz 2005-08-06 21:25:09 +00:00 committed by Michael Matz
parent 3e0a6ca6ae
commit 8402b3e18a
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-08-06 Michael Matz <matz@suse.de>
* method.c (use_thunk): Call init_insn_lengths.
2005-08-05 James A. Morrison <phython@gcc.gnu.org>
PR c++/22514

View File

@ -441,6 +441,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
fixed_offset, virtual_value, alias);
assemble_end_function (thunk_fndecl, fnname);
init_insn_lengths ();
current_function_decl = 0;
cfun = 0;
TREE_ASM_WRITTEN (thunk_fndecl) = 1;