Commit 2eca7d15 by Richard Henderson Committed by Richard Henderson

ipa-type-escape.c (discover_unique_type): Remove dead code at end of function.

        * ipa-type-escape.c (discover_unique_type): Remove dead code at
        end of function.  Reindent.

From-SVN: r104619
parent 1f6f3d15
2005-09-24 Richard Henderson <rth@redhat.com>
* ipa-type-escape.c (discover_unique_type): Remove dead code at
end of function. Reindent.
2005-09-24 Ian Lance Taylor <ian@airs.com>
* convert.c (convert_to_integer): Don't test for ENUMERAL_TYPE in
......
......@@ -200,15 +200,17 @@ compare_type_brand (splay_tree_key sk1, splay_tree_key sk2)
static tree
discover_unique_type (tree type)
{
struct type_brand_s * brand = xmalloc(sizeof(struct type_brand_s));
struct type_brand_s * brand = xmalloc (sizeof (struct type_brand_s));
int i = 0;
splay_tree_node result;
brand->name = get_name_of_type (type);
while (1)
{
brand->name = get_name_of_type (type);
brand->seq = i;
brand->seq = i++;
result = splay_tree_lookup (all_canon_types, (splay_tree_key) brand);
if (result)
{
/* Create an alias since this is just the same as
......@@ -248,9 +250,7 @@ discover_unique_type (tree type)
bitmap_set_bit (global_types_seen, TYPE_UID (type));
return type;
}
i++;
}
free (brand);
}
/* Return true if TYPE is one of the type classes that we are willing
......
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