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.c | |
parent | b3d286bac21f41e1680e2f364e0733c8ebf2c9ad (diff) | |
download | gcc-69c103c7139e87cc2e7a2ff7ab1ce3c4faa227bc.zip gcc-69c103c7139e87cc2e7a2ff7ab1ce3c4faa227bc.tar.gz gcc-69c103c7139e87cc2e7a2ff7ab1ce3c4faa227bc.tar.bz2 |
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.c')
-rw-r--r-- | gcc/ipa-prop.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 71f79bd..5616014 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -746,8 +746,6 @@ ipa_note_param_call (struct ipa_node_params *info, int formal_id, struct ipa_param_call_note *note; basic_block bb = gimple_bb (stmt); - info->params[formal_id].called = 1; - note = XCNEW (struct ipa_param_call_note); note->formal_id = formal_id; note->stmt = stmt; @@ -1425,8 +1423,6 @@ ipa_print_node_params (FILE * f, struct cgraph_node *node) : "(unnamed)")); if (ipa_is_param_modified (info, i)) fprintf (f, " modified"); - if (ipa_is_param_called (info, i)) - fprintf (f, " called"); fprintf (f, "\n"); } } @@ -2024,10 +2020,7 @@ ipa_write_node_info (struct output_block *ob, struct cgraph_node *node) gcc_assert (!info->node_enqueued); gcc_assert (!info->ipcp_orig_node); for (j = 0; j < ipa_get_param_count (info); j++) - { - bp_pack_value (bp, info->params[j].modified, 1); - bp_pack_value (bp, info->params[j].called, 1); - } + bp_pack_value (bp, info->params[j].modified, 1); lto_output_bitpack (ob->main_stream, bp); bitpack_delete (bp); for (e = node->callees; e; e = e->next_callee) @@ -2071,10 +2064,7 @@ ipa_read_node_info (struct lto_input_block *ib, struct cgraph_node *node, } info->node_enqueued = false; for (k = 0; k < ipa_get_param_count (info); k++) - { - info->params[k].modified = bp_unpack_value (bp, 1); - info->params[k].called = bp_unpack_value (bp, 1); - } + info->params[k].modified = bp_unpack_value (bp, 1); bitpack_delete (bp); for (e = node->callees; e; e = e->next_callee) { |