aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-03-20 04:52:59 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-03-20 04:52:59 +0000
commit5fd9b17875e5e720108ed599b262ad9464576956 (patch)
tree80dae71541c28dcbf4d7456f50781a1d0823bc15 /gcc/rtlanal.c
parent86e7df90ace6a43c5e641c179431cbd53ea29abe (diff)
downloadgcc-5fd9b17875e5e720108ed599b262ad9464576956.zip
gcc-5fd9b17875e5e720108ed599b262ad9464576956.tar.gz
gcc-5fd9b17875e5e720108ed599b262ad9464576956.tar.bz2
alias.c, [...]: Replace calls via (*targetm.foo) () with targetm.foo ().
* alias.c, attribs.c, bt-load.c, builtins.c, c-common.c, c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c, cse.c, dbxout.c, dwarf2out.c, except.c, final.c, haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c, sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c, vmsdbgout.c: Replace calls via (*targetm.foo) () with targetm.foo (). From-SVN: r79729
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r--gcc/rtlanal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 15fc7ad..3f3a428 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -3841,7 +3841,7 @@ rtx_cost (rtx x, enum rtx_code outer_code ATTRIBUTE_UNUSED)
break;
default:
- if ((*targetm.rtx_costs) (x, code, outer_code, &total))
+ if (targetm.rtx_costs (x, code, outer_code, &total))
return total;
break;
}
@@ -3881,7 +3881,7 @@ address_cost (rtx x, enum machine_mode mode)
if (!memory_address_p (mode, x))
return 1000;
- return (*targetm.address_cost) (x);
+ return targetm.address_cost (x);
}
/* If the target doesn't override, compute the cost as with arithmetic. */