fix killing of otherwise not-handled instructions
commit97aa4b8f54e6b810802aaba221e42ea6742622cf
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Thu, 16 Feb 2017 04:56:59 +0000 (16 05:56 +0100)
committerChristopher Li <sparse@chrisli.org>
Thu, 16 Feb 2017 12:43:06 +0000 (16 20:43 +0800)
tree7cc50886ba6fd177282517c772e936c4132aec9d
parent5824fd80fd1991e019220af2e5338d3b506a75cb
fix killing of otherwise not-handled instructions

The instructions which are otherwise not handled in
kill_instruction() were simply ignored  but they must
still have their ->bb set to NULL.

Fix this by separating the default case from OP_ENTRY,
the only kind that must be ignored in all circonstances.

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