aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.c
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2009-12-01 11:51:07 +0100
committerMartin Jambor <jamborm@gcc.gnu.org>2009-12-01 11:51:07 +0100
commit6009ee7b4164ad1ee395b6fe013b7c7037932e57 (patch)
treec416cb92cfa79f0d551e6d09d45f92af9210fd36 /gcc/ipa-prop.c
parentb27dc43154de9c221e0b66b0591b310fe9761be1 (diff)
downloadgcc-6009ee7b4164ad1ee395b6fe013b7c7037932e57.zip
gcc-6009ee7b4164ad1ee395b6fe013b7c7037932e57.tar.gz
gcc-6009ee7b4164ad1ee395b6fe013b7c7037932e57.tar.bz2
cgraph.h (struct cgraph_edge): Reorder fields.
2009-12-01 Martin Jambor <mjambor@suse.cz> * cgraph.h (struct cgraph_edge): Reorder fields. Make loop_nest unsigned short int. * ipa-prop.h (struct ipa_param_call_note): Likewise. * ipa-prop.c (ipa_note_param_call): Initialize note->loop_nest. From-SVN: r154872
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r--gcc/ipa-prop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 78269d8..9387f0e 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -754,6 +754,7 @@ ipa_note_param_call (struct ipa_node_params *info, int formal_id,
note->lto_stmt_uid = gimple_uid (stmt);
note->count = bb->count;
note->frequency = compute_call_stmt_bb_frequency (current_function_decl, bb);
+ note->loop_nest = bb->loop_depth;
note->next = info->param_calls;
info->param_calls = note;