Commit 56744d1a by Jeff Law

rtl.h (flow2_completed): Declare.

x
        * rtl.h (flow2_completed): Declare.
        * flow.c (flow2_completed): Definition.
        * toplev.c (rest_of_compilation): Set and clear flow2_completed
        as necessary.

From-SVN: r23528
parent 0ea0e871
......@@ -161,6 +161,9 @@ int *uid_block_number;
#define INSN_VOLATILE(INSN) uid_volatile[INSN_UID (INSN)]
static char *uid_volatile;
/* Nonzero if the second flow pass has completed. */
int flow2_completed;
/* Number of basic blocks in the current function. */
int n_basic_blocks;
......
......@@ -3803,6 +3803,8 @@ rest_of_compilation (decl)
life_analysis (insns, max_reg_num (), rtl_dump_file);
});
flow2_completed = 1;
/* On some machines, the prologue and epilogue code, or parts thereof,
can be represented as RTL. Doing so lets us schedule insns between
it and the rest of the code and also allows delayed branch
......@@ -3972,6 +3974,7 @@ rest_of_compilation (decl)
}
reload_completed = 0;
flow2_completed = 0;
TIMEVAR (final_time,
{
......
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