diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-01 13:21:30 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-01 13:21:30 +0000 |
commit | 89beeed35a9c65037942ca8dd6e033672f16f109 (patch) | |
tree | 49363554554ff466c0017de2e20bc441da32ac71 /gcc/sched-int.h | |
parent | 4d67aa45f4fe2e42283e13d181f7b575dbe42b37 (diff) | |
download | gcc-89beeed35a9c65037942ca8dd6e033672f16f109.tar.gz |
Avoid exponential runtime
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40145 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r-- | gcc/sched-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h index 2a7eb6a0384..0eb2e668279 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -198,6 +198,9 @@ struct haifa_insn_data moved load insn and this one. */ unsigned int fed_by_spec_load : 1; unsigned int is_load_insn : 1; + + /* Nonzero if priority has been computed already. */ + unsigned int priority_known : 1; }; extern struct haifa_insn_data *h_i_d; @@ -209,6 +212,7 @@ extern struct haifa_insn_data *h_i_d; #define CANT_MOVE(insn) (h_i_d[INSN_UID (insn)].cant_move) #define INSN_DEP_COUNT(INSN) (h_i_d[INSN_UID (INSN)].dep_count) #define INSN_PRIORITY(INSN) (h_i_d[INSN_UID (INSN)].priority) +#define INSN_PRIORITY_KNOWN(INSN) (h_i_d[INSN_UID (INSN)].priority_known) #define INSN_COST(INSN) (h_i_d[INSN_UID (INSN)].cost) #define INSN_UNIT(INSN) (h_i_d[INSN_UID (INSN)].units) #define INSN_REG_WEIGHT(INSN) (h_i_d[INSN_UID (INSN)].reg_weight) |