Commit b2f15f94 by Richard Kenner

(reload): Set reload_in_progress earlier.

From-SVN: r1744
parent c0b9d4c8
...@@ -750,6 +750,9 @@ reload (first, global, dumpfile) ...@@ -750,6 +750,9 @@ reload (first, global, dumpfile)
bzero (basic_block_needs[i], n_basic_blocks); 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 /* This loop scans the entire function each go-round
and repeats until one repetition spills no additional hard regs. */ and repeats until one repetition spills no additional hard regs. */
...@@ -1719,9 +1722,6 @@ reload (first, global, dumpfile) ...@@ -1719,9 +1722,6 @@ reload (first, global, dumpfile)
if (ep->can_eliminate) if (ep->can_eliminate)
mark_elimination (ep->from, ep->to); 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 /* Insert code to save and restore call-clobbered hard regs
around calls. Tell if what mode to use so that we will process around calls. Tell if what mode to use so that we will process
those insns in reload_as_needed if we have to. */ those insns in reload_as_needed if we have to. */
......
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