return hash_ptr(type->compound);
}
-static unsigned hash_type(const type_t *type);
-
static unsigned hash_function_type(const function_type_t *type)
{
unsigned result = hash_ptr(type->return_type);
unsigned some_prime = 99991;
hash ^= some_prime * type->base.qualifiers;
+ hash ^= some_prime * type->base.alignment;
return hash;
}
return false;
if (type1->base.modifiers != type2->base.modifiers)
return false;
+ if (type1->base.alignment != type2->base.alignment)
+ return false;
switch (type1->kind) {
case TYPE_ERROR: