2008-09-04 Paul Brook <paul@codesourcery.com>
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2008 16:43:24 +0000 (16:43 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2008 16:43:24 +0000 (16:43 +0000)
* config/arm/arm.c (arm_size_rtx_costs): Call cost function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139990 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/arm.c

index 34253d3..79f38b7 100644 (file)
@@ -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
index ec28f79..0edba77 100644 (file)
@@ -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