diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-28 01:13:19 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-28 01:13:19 +0000 |
| commit | ba2c9526f5d08a044f8ab10908da745da840eaed (patch) | |
| tree | 62cd9fec1be4b0091939fd7abd2335b1cbf99b21 | |
| parent | 8d64cfde661f3fc64aa579e1a48b7c62be3e109b (diff) | |
| download | ppe42-gcc-ba2c9526f5d08a044f8ab10908da745da840eaed.tar.gz ppe42-gcc-ba2c9526f5d08a044f8ab10908da745da840eaed.zip | |
* global.c, tree-ssa-pre.c: Move DEF_VEC_P(basic_block) and
DEF_VEC_ALLOC_P(basic_block,{gc,heap}) to ...
* basic-block.h: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109097 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/basic-block.h | 4 | ||||
| -rw-r--r-- | gcc/global.c | 3 | ||||
| -rw-r--r-- | gcc/tree-ssa-pre.c | 2 |
4 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2103a663705..9a3f53ff404 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-12-27 Kazu Hirata <kazu@codesourcery.com> + + * global.c, tree-ssa-pre.c: Move DEF_VEC_P(basic_block) and + DEF_VEC_ALLOC_P(basic_block,{gc,heap}) to ... + * basic-block.h: ... here. + 2005-12-27 Roger Sayle <roger@eyesopen.com> * fold-const.c (int_const_binop): Return NULL_TREE when an expression diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 69dba56dd81..101f48610b2 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -282,6 +282,10 @@ struct rtl_bb_info GTY(()) typedef struct basic_block_def *basic_block; +DEF_VEC_P(basic_block); +DEF_VEC_ALLOC_P(basic_block,gc); +DEF_VEC_ALLOC_P(basic_block,heap); + #define BB_FREQ_MAX 10000 /* Masks for basic_block.flags. diff --git a/gcc/global.c b/gcc/global.c index e92a4cb7a95..e88e1012a5e 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -2301,9 +2301,6 @@ rpost_cmp (const void *bb1, const void *bb2) /* Temporary bitmap used for live_pavin, live_pavout calculation. */ static bitmap temp_bitmap; -DEF_VEC_P(basic_block); -DEF_VEC_ALLOC_P(basic_block,heap); - /* The function calculates partial register availability according to the following equations: diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 1f469292622..e8ef1220b19 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -1334,8 +1334,6 @@ clean (value_set_t set) } } -DEF_VEC_P (basic_block); -DEF_VEC_ALLOC_P (basic_block, heap); static sbitmap has_abnormal_preds; /* Compute the ANTIC set for BLOCK. |

