Commit 01fddcff authored by Moritz Kroll's avatar Moritz Kroll
Browse files

typo

[r25552]
parent 45640ea7
......@@ -233,7 +233,7 @@ ir_allocation get_entity_allocation(const ir_entity *ent);
void set_entity_allocation(ir_entity *ent, ir_allocation al);
/** Return the name of the allocation type. */
const char *get_allocation_name(ir_allocation vis);
const char *get_allocation_name(ir_allocation al);
/** Returns the visibility of an entity. */
ir_visibility get_entity_visibility(const ir_entity *ent);
......
......@@ -390,10 +390,10 @@ void
} /* set_entity_allocation */
/* return the name of the visibility */
const char *get_allocation_name(ir_allocation all)
const char *get_allocation_name(ir_allocation al)
{
#define X(a) case a: return #a
switch (all) {
switch (al) {
X(allocation_automatic);
X(allocation_parameter);
X(allocation_dynamic);
......
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