Skip to content
Snippets Groups Projects
Commit d4ed08ce authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Re-fix tag_instructions

parent 4bbf57b2
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ def tag_instructions(kernel, new_tag, within=None):
for insn in kernel.instructions:
if within(kernel, insn):
new_insns.append(
insn.copy(tags=insn.tags + frozenset([new_tag])))
insn.copy(tags=insn.tags | frozenset([new_tag])))
else:
new_insns.append(insn)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment