typo
authorMoritz Kroll <Moritz.Kroll@gmx.de>
Sat, 21 Feb 2009 21:35:55 +0000 (21:35 +0000)
committerMoritz Kroll <Moritz.Kroll@gmx.de>
Sat, 21 Feb 2009 21:35:55 +0000 (21:35 +0000)
[r25552]

include/libfirm/typerep.h
ir/tr/entity.c

index 3e916c5..37a6f66 100644 (file)
@@ -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);
index ea37d13..ba2b3d6 100644 (file)
@@ -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);