summaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-30 12:03:47 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-30 12:03:47 +0000
commita2061b70868a5e4603b4d2ac9cf159f46538a638 (patch)
tree8b69291758dc2c8cf9572817b9c7b8edfd062b46 /gcc/tree-flow-inline.h
parent58c50d3ffedc70844cc2d28a75c369eb9e95e35b (diff)
downloadgcc-a2061b70868a5e4603b4d2ac9cf159f46538a638.tar.gz
* tree.h (DECL_CALL_CLOBBERED): Remove.
(tree_decl_common): Remove call_clobbered flag. * tree-flow.h (struct var_ann_d): Add call_clobbered flag. * tree-ssa-alias.c (mark_non_addressable, reset_cc_flags): Update. * tree-flow-inline.h (is_call_clobbered, mark_call_clobbered, clear_call_clobbered): Update. * tree-ssa.c (verify_call_clobbering): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120285 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index 0695c656293..a2d3e62d371 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -919,7 +919,7 @@ static inline bool
is_call_clobbered (tree var)
{
if (!MTAG_P (var))
- return DECL_CALL_CLOBBERED (var);
+ return var_ann (var)->call_clobbered;
else
return bitmap_bit_p (gimple_call_clobbered_vars (cfun), DECL_UID (var));
}
@@ -930,7 +930,7 @@ mark_call_clobbered (tree var, unsigned int escape_type)
{
var_ann (var)->escape_mask |= escape_type;
if (!MTAG_P (var))
- DECL_CALL_CLOBBERED (var) = true;
+ var_ann (var)->call_clobbered = true;
bitmap_set_bit (gimple_call_clobbered_vars (cfun), DECL_UID (var));
}
@@ -943,7 +943,7 @@ clear_call_clobbered (tree var)
if (MTAG_P (var) && TREE_CODE (var) != STRUCT_FIELD_TAG)
MTAG_GLOBAL (var) = 0;
if (!MTAG_P (var))
- DECL_CALL_CLOBBERED (var) = false;
+ var_ann (var)->call_clobbered = false;
bitmap_clear_bit (gimple_call_clobbered_vars (cfun), DECL_UID (var));
}