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);
} /* 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);