OSDN Git Service

* arm-protos.h (tune_params): New structure.
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / arm-protos.h
index 4d6d51b..5a42a25 100644 (file)
@@ -213,4 +213,16 @@ extern const char *arm_mangle_type (const_tree);
 
 extern void arm_order_regs_for_local_alloc (void);
 
+#ifdef RTX_CODE
+/* This needs to be here because we need RTX_CODE and similar.  */
+
+struct tune_params
+{
+  bool (*rtx_costs) (rtx, RTX_CODE, RTX_CODE, int *, bool);
+  int constant_limit;
+};
+
+extern const struct tune_params *current_tune;
+#endif /* RTX_CODE */
+
 #endif /* ! GCC_ARM_PROTOS_H */