diff mbox

[7/8] explicitely ignore killing OP_ENTRY

Message ID 20161117143507.3598-8-luc.vanoostenryck@gmail.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Luc Van Oostenryck Nov. 17, 2016, 2:35 p.m. UTC
It doesn't change anything, it's more for documentation
purpose.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 simplify.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/simplify.c b/simplify.c
index 1be9b3d0..afbbb7b6 100644
--- a/simplify.c
+++ b/simplify.c
@@ -232,6 +232,10 @@  void kill_instruction(struct instruction *insn)
 		if (insn->cond)
 			kill_use(&insn->cond);
 		return;
+
+	case OP_ENTRY:
+		/* ignore */
+		return;
 	}
 }