convopt: fix potential bug with modulo shifts, improve cost calculation for optimizab...
[libfirm] / ir / be / arm / arm_cconv.h
index 6b464cc..9e2b017 100644 (file)
@@ -102,7 +102,7 @@ typedef struct calling_convention_t
  * Decides what goes to register or to stack and what stack offsets/
  * datatypes are used.
  */
-calling_convention_t *arm_decide_calling_convention(ir_graph *irg,
+calling_convention_t *arm_decide_calling_convention(const ir_graph *irg,
                                                     ir_type *function_type);
 
 /**