summaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-20 04:52:59 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-20 04:52:59 +0000
commit883b2e736539f4112f9ebb1a4528db015b217672 (patch)
tree80dae71541c28dcbf4d7456f50781a1d0823bc15 /gcc/rtlanal.c
parentcce398ee7a028ad9d288932937515a8e744c87c0 (diff)
downloadgcc-883b2e736539f4112f9ebb1a4528db015b217672.tar.gz
* 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 (). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79729 138bc75d-0d04-0410-961f-82ee72b054a4
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 15fc7ad2fbc..3f3a4289d63 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. */