Commit 1a566998 authored by Michael Beck's avatar Michael Beck
Browse files

Constify.

[r28204]
parent e033edb2
......@@ -39,7 +39,8 @@ static const unsigned ignore_regs[] = {
REG_FL,
};
calling_convention_t *arm_decide_calling_convention(ir_graph *irg,
/* determine how function parameters and return values are passed. */
calling_convention_t *arm_decide_calling_convention(const ir_graph *irg,
ir_type *function_type)
{
int stack_offset = 0;
......
......@@ -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);
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment