OP_SWITCH should use 'insn->cond' instead of 'insn->target'
commit5f8681e7ad9abff079db4ed3bfdeb7b5e1808c4a
authorLuc Van Oostenryck <luc.vanoostenryck@looxix.net>
Tue, 22 Nov 2016 16:32:33 +0000 (22 17:32 +0100)
committerChristopher Li <sparse@chrisli.org>
Mon, 13 Feb 2017 01:34:44 +0000 (13 09:34 +0800)
tree26728b6eefa5fdb7c61e8f3b82f48fc1ddef2171
parent5dd219ef2abf39d803f8ba4950acabc9c0f0244d
OP_SWITCH should use 'insn->cond' instead of 'insn->target'

show_instruction() uses the field 'target' to display OP_SWITCH
instruction instead of 'cond' like OP_BR does.
It doesn't change anything since these two fields use the same
storage inside struct instruction but better to use the right field
to keep consistent.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
linearize.c