diff options
author | Martin Jambor <mjambor@suse.cz> | 2010-03-08 12:00:07 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2010-03-08 12:00:07 +0100 |
commit | 69c103c7139e87cc2e7a2ff7ab1ce3c4faa227bc (patch) | |
tree | 461d5c86d39002c5e98d9f547aaff1b682781d4a /gcc/ipa-prop.h | |
parent | b3d286bac21f41e1680e2f364e0733c8ebf2c9ad (diff) | |
download | gcc-69c103c7139e87cc2e7a2ff7ab1ce3c4faa227bc.tar.gz |
ipa-prop.h (struct ipa_param_descriptor): Removed the called field.
2010-03-08 Martin Jambor <mjambor@suse.cz>
* ipa-prop.h (struct ipa_param_descriptor): Removed the called field.
(ipa_is_param_called): Removed.
* ipa-prop.c (ipa_note_param_call): Do not set the called flag.
(ipa_print_node_params): Do not print the called flag.
(ipa_write_node_info): Do not stream the called flag.
(ipa_read_node_info): Likewise.
From-SVN: r157273
Diffstat (limited to 'gcc/ipa-prop.h')
-rw-r--r-- | gcc/ipa-prop.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index 90055e124bc..aca4342aa93 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -169,8 +169,6 @@ struct ipa_param_descriptor tree decl; /* Whether the value parameter has been modified within the function. */ unsigned modified : 1; - /* Whether the parameter has been used as a call destination. */ - unsigned called : 1; }; /* ipa_node_params stores information related to formal parameters of functions @@ -248,17 +246,6 @@ ipa_is_param_modified (struct ipa_node_params *info, int i) return info->params[i].modified; } -/* Return the called flag corresponding to the Ith formal parameter of the - function associated with INFO. Note that there is no setter method as the - goal is to set all flags when building the array in - ipa_detect_called_params. */ - -static inline bool -ipa_is_param_called (struct ipa_node_params *info, int i) -{ - return info->params[i].called; -} - /* Flag this node as having callers with variable number of arguments. */ static inline void |