aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2008-09-04 16:43:24 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2008-09-04 16:43:24 +0000
commit71062f1eb1d80f078873c97468d485024f7e8171 (patch)
tree2afe958b0e9b26ff42853620ef733a2ebeb860c8 /gcc
parentd8612738c0a87db19e8ed0e8d130bfaa0aec9cb5 (diff)
downloadgcc-71062f1eb1d80f078873c97468d485024f7e8171.zip
gcc-71062f1eb1d80f078873c97468d485024f7e8171.tar.gz
gcc-71062f1eb1d80f078873c97468d485024f7e8171.tar.bz2
arm.c (arm_size_rtx_costs): Call cost function.
2008-09-04 Paul Brook <paul@codesourcery.com> * config/arm/arm.c (arm_size_rtx_costs): Call cost function. From-SVN: r139990
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/arm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 34253d3..79f38b7f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-04 Paul Brook <paul@codesourcery.com>
+
+ * config/arm/arm.c (arm_size_rtx_costs): Call cost function.
+
2008-09-04 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin/bfin.c (bfin_function_ok_for_sibcall): Restore a null
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index ec28f79..0edba77 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -5391,7 +5391,7 @@ arm_rtx_costs (rtx x, int code, int outer_code, int *total, bool speed)
if (!speed)
return arm_size_rtx_costs (x, code, outer_code, total);
else
- return all_cores[(int)arm_tune].rtx_costs;
+ return all_cores[(int)arm_tune].rtx_costs (x, code, outer_code, total);
}
/* RTX costs for cores with a slow MUL implementation. Thumb-2 is not