diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-25 19:46:43 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-25 19:46:43 +0000 |
commit | 992c71386830a8942978bc0ae0836a92072572eb (patch) | |
tree | e0c0962c279aea5a858138daa5832989b12e2bf6 /gcc/df.h | |
parent | ed0da988b9121d779d156d6027fc735854114bc2 (diff) | |
download | linaro-gcc-992c71386830a8942978bc0ae0836a92072572eb.tar.gz linaro-gcc-992c71386830a8942978bc0ae0836a92072572eb.tar.bz2 linaro-gcc-992c71386830a8942978bc0ae0836a92072572eb.zip |
* df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB argument.
* df.h (struct ref): Kill B.
(DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
* basic-block.h (PROP_EQUAL_NOTES): New flag.
* flow.c (propagate_one_insn): Use it.
(mark_used_regs): Handle NIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49220 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df.h')
-rw-r--r-- | gcc/df.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -57,7 +57,6 @@ enum df_ref_flags struct ref { rtx reg; /* The register referenced. */ - basic_block bb; /* BB containing ref. */ rtx insn; /* Insn containing ref. */ rtx *loc; /* Loc is the location of the reg. */ struct df_link *chain; /* Head of def-use or use-def chain. */ @@ -175,8 +174,8 @@ struct df_map #define DF_REF_REG(REF) ((REF)->reg) #define DF_REF_LOC(REF) ((REF)->loc) #endif -#define DF_REF_BB(REF) ((REF)->bb) -#define DF_REF_BBNO(REF) ((REF)->bb->index) +#define DF_REF_BB(REF) (BLOCK_FOR_INSN ((REF)->insn)) +#define DF_REF_BBNO(REF) (BLOCK_FOR_INSN ((REF)->insn)->index) #define DF_REF_INSN(REF) ((REF)->insn) #define DF_REF_INSN_UID(REF) (INSN_UID ((REF)->insn)) #define DF_REF_TYPE(REF) ((REF)->type) |