(reload): Set reload_in_progress earlier.

From-SVN: r1744
This commit is contained in:
Richard Kenner 1992-08-02 21:32:01 -04:00
parent c0b9d4c816
commit b2f15f9433

View File

@ -750,6 +750,9 @@ reload (first, global, dumpfile)
bzero (basic_block_needs[i], n_basic_blocks);
}
/* From now on, we need to emit any moves without making new pseudos. */
reload_in_progress = 1;
/* This loop scans the entire function each go-round
and repeats until one repetition spills no additional hard regs. */
@ -1719,9 +1722,6 @@ reload (first, global, dumpfile)
if (ep->can_eliminate)
mark_elimination (ep->from, ep->to);
/* From now on, we need to emit any moves without making new pseudos. */
reload_in_progress = 1;
/* Insert code to save and restore call-clobbered hard regs
around calls. Tell if what mode to use so that we will process
those insns in reload_as_needed if we have to. */