Commit 4d6efa25 by Jason Merrill Committed by Jason Merrill

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
parent 55e0182b
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> Wed Nov 5 23:52:50 1997 Jason Merrill <jason@yorick.cygnus.com>
* except.c (call_eh_info): Split out... * except.c (call_eh_info): Split out...
......
...@@ -3260,12 +3260,6 @@ finish_file () ...@@ -3260,12 +3260,6 @@ finish_file ()
{ {
DECL_EXTERNAL (decl) = 0; DECL_EXTERNAL (decl) = 0;
reconsider = 1; 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); output_inline_function (decl);
permanent_allocation (1); permanent_allocation (1);
} }
......
...@@ -1927,6 +1927,13 @@ emit_thunk (thunk_fndecl) ...@@ -1927,6 +1927,13 @@ emit_thunk (thunk_fndecl)
c_expand_return (t); c_expand_return (t);
finish_function (lineno, 0, 0); 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 */ #endif /* ASM_OUTPUT_MI_THUNK */
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment