decl2.c (finish_file): Remove redundant code.

* decl2.c (finish_file): Remove redundant code.
	* method.c (emit_thunk): Don't let the backend defer generic thunks.

From-SVN: r16353
This commit is contained in:
Jason Merrill 1997-11-07 03:37:39 +00:00 committed by Jason Merrill
parent 55e0182bdb
commit 4d6efa25ac
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,8 @@
Thu Nov 6 11:28:14 1997 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (finish_file): Remove redundant code.
* method.c (emit_thunk): Don't let the backend defer generic thunks.
Wed Nov 5 23:52:50 1997 Jason Merrill <jason@yorick.cygnus.com>
* except.c (call_eh_info): Split out...

View File

@ -3260,12 +3260,6 @@ finish_file ()
{
DECL_EXTERNAL (decl) = 0;
reconsider = 1;
/* We can't inline this function after it's been
emitted, so just disable inlining. We want a
variant of output_inline_function that doesn't
prevent subsequent integration... */
flag_no_inline = 1;
temporary_allocation ();
output_inline_function (decl);
permanent_allocation (1);
}

View File

@ -1927,6 +1927,13 @@ emit_thunk (thunk_fndecl)
c_expand_return (t);
finish_function (lineno, 0, 0);
/* Don't let the backend defer this function. */
if (DECL_DEFER_OUTPUT (thunk_fndecl))
{
output_inline_function (thunk_fndecl);
permanent_allocation (1);
}
#endif /* ASM_OUTPUT_MI_THUNK */
}