Commit d9a98e1a by Richard Kenner

(init_function_start): Initialize trampoline_list here.

(expand_function_end): Not here.

From-SVN: r4936
parent 36618528
...@@ -4194,6 +4194,9 @@ init_function_start (subr, filename, line) ...@@ -4194,6 +4194,9 @@ init_function_start (subr, filename, line)
/* Within function body, compute a type's size as soon it is laid out. */ /* Within function body, compute a type's size as soon it is laid out. */
immediate_size_expand++; immediate_size_expand++;
/* We haven't made any trampolines for this function yet. */
trampoline_list = 0;
init_pending_stack_adjust (); init_pending_stack_adjust ();
inhibit_defer_pop = 0; inhibit_defer_pop = 0;
...@@ -4524,8 +4527,6 @@ expand_function_end (filename, line) ...@@ -4524,8 +4527,6 @@ expand_function_end (filename, line)
/* Put those insns at entry to the containing function (this one). */ /* Put those insns at entry to the containing function (this one). */
emit_insns_before (seq, tail_recursion_reentry); emit_insns_before (seq, tail_recursion_reentry);
} }
/* Clear the trampoline_list for the next function. */
trampoline_list = 0;
#if 0 /* I think unused parms are legitimate enough. */ #if 0 /* I think unused parms are legitimate enough. */
/* Warn about unused parms. */ /* Warn about unused parms. */
......
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