diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-03 22:12:37 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-03 22:12:37 +0000 |
commit | 15b8fe07975ed2a6a616e88bf541726bc5db4db9 (patch) | |
tree | b81f9de22e415ae2de2e244d323a481b46f0b6db /gcc/basic-block.h | |
parent | 5fad5123f84b02ee0d16f742b108dd879ba51b63 (diff) | |
download | gcc-15b8fe07975ed2a6a616e88bf541726bc5db4db9.tar.gz |
* tree-dump.c (dump_enable_all): Rename local variable
ir_type to avoid name conflicts.
* cfgloopmanip.c (lv_adjust_loop_entry_edge): Check for IR_GIMPLE
instead of using ir_type().
* profile.c (tree_register_profile_hooks): Likewise.
* value-prof.c (tree_register_value_prof_hooks): Likewise.
* basic-block.h (struct edge_def): Likewise.
* config/arm/arm.c (legitimize_pic_address): Likewise.
* coretypes.h (ir_type): New enum of all intermediate languages
used in GCC.
* cfghooks.c (ir_type): Rename to...
(current_ir_type): ...this. Distinguish between cfgrtl and
cfglayout mode when the current IR is RTL. Return enum ir_type.
* cfghooks.h (ir_type): Replace with current_ir_type prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118465 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 67c09226ad1..371b124baca 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -123,9 +123,9 @@ struct edge_def GTY(()) /* Instructions queued on the edge. */ union edge_def_insns { - rtx GTY ((tag ("0"))) r; - tree GTY ((tag ("1"))) t; - } GTY ((desc ("ir_type ()"))) insns; + tree GTY ((tag ("true"))) t; + rtx GTY ((tag ("false"))) r; + } GTY ((desc ("current_ir_type () == IR_GIMPLE"))) insns; /* Auxiliary info specific to a pass. */ PTR GTY ((skip (""))) aux; |