Commit aa1341dd authored by Michael Beck's avatar Michael Beck
Browse files

do NOT overwrite custom hash function

parent f37b4dbb
......@@ -6205,11 +6205,15 @@ static ir_op_ops *firm_set_default_hash(ir_opcode code, ir_op_ops *ops)
ops->hash = hash_##a; \
/* hash function already set */
if (ops->hash != NULL)
return ops;
switch (code) {
/* use input/mode default hash */
/* use input/mode default hash if no function was given */
ops->hash = firm_default_hash;
Supports Markdown
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