diff options
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r-- | gcc/tree-ssa-pre.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 2a0ac9641a4..80986eb0860 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -3660,9 +3660,9 @@ compute_avail (void) param; param = TREE_CHAIN (param)) { - if (default_def (param) != NULL) + if (gimple_default_def (cfun, param) != NULL) { - tree def = default_def (param); + tree def = gimple_default_def (cfun, param); vn_lookup_or_add (def, NULL); bitmap_insert_into_set (TMP_GEN (ENTRY_BLOCK_PTR), def); @@ -3676,9 +3676,9 @@ compute_avail (void) if (cfun->static_chain_decl) { param = cfun->static_chain_decl; - if (default_def (param) != NULL) + if (gimple_default_def (cfun, param) != NULL) { - tree def = default_def (param); + tree def = gimple_default_def (cfun, param); vn_lookup_or_add (def, NULL); bitmap_insert_into_set (TMP_GEN (ENTRY_BLOCK_PTR), def); |