Commit de81ffd4 by Jan Hubicka Committed by Jan Hubicka

* semantics.c (expand_body) Do emit_associated_thunks before

	expansion.

From-SVN: r76804
parent 469ef4a3
2004-01-28 Jan Hubicka <jh@suse.cz>
* semantics.c (expand_body) Do emit_associated_thunks before
expansion.
2004-01-27 Devang Patel <dpatel@apple.com> 2004-01-27 Devang Patel <dpatel@apple.com>
* name-lookup.c: Include "debug.h" * name-lookup.c: Include "debug.h"
......
...@@ -2885,6 +2885,9 @@ expand_body (tree fn) ...@@ -2885,6 +2885,9 @@ expand_body (tree fn)
/* ??? When is this needed? */ /* ??? When is this needed? */
saved_function = current_function_decl; saved_function = current_function_decl;
/* Emit any thunks that should be emitted at the same time as FN. */
emit_associated_thunks (fn);
timevar_push (TV_INTEGRATION); timevar_push (TV_INTEGRATION);
optimize_function (fn); optimize_function (fn);
timevar_pop (TV_INTEGRATION); timevar_pop (TV_INTEGRATION);
...@@ -2895,9 +2898,6 @@ expand_body (tree fn) ...@@ -2895,9 +2898,6 @@ expand_body (tree fn)
extract_interface_info (); extract_interface_info ();
/* Emit any thunks that should be emitted at the same time as FN. */
emit_associated_thunks (fn);
/* If this function is marked with the constructor attribute, add it /* If this function is marked with the constructor attribute, add it
to the list of functions to be called along with constructors to the list of functions to be called along with constructors
from static duration objects. */ from static duration objects. */
......
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