Commit 1d1218fb by Jan Hubicka Committed by Jan Hubicka

* lto.c (hash_canonical_type): Drop hashing of METHOD_BASETYPE.

From-SVN: r223607
parent 14e40d7e
2015-05-22 Jan Hubicka <hubicka@ucw.cz>
* lto.c (hash_canonical_type): Drop hashing of METHOD_BASETYPE.
2015-05-19 Jan Hubicka <hubicka@ucw.cz>
* lto.c (gimple_canonical_types_compatible_p): Move to tree.c
......
......@@ -372,10 +372,6 @@ hash_canonical_type (tree type)
unsigned na;
tree p;
/* For method types also incorporate their parent class. */
if (TREE_CODE (type) == METHOD_TYPE)
iterative_hash_canonical_type (TYPE_METHOD_BASETYPE (type), hstate);
iterative_hash_canonical_type (TREE_TYPE (type), hstate);
for (p = TYPE_ARG_TYPES (type), na = 0; p; p = TREE_CHAIN (p))
......
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