aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2016-12-14 22:57:35 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-06-28 18:55:41 +0200
commita3e062b5803154e05f127a91b2aba6dcc51eb3d1 (patch)
tree3351eda530a0f2fea54cc713b0260de1ff12a3ed /example.c
parent22a058c697d310797c6af326345c68739778b7c4 (diff)
downloadsparse-dev-a3e062b5803154e05f127a91b2aba6dcc51eb3d1.tar.gz
bool: remove OP_{AND,OR}_BOOL instructions
Now that these instructions are not generated anymore, we can remove all related code, defines and doc. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'example.c')
-rw-r--r--example.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/example.c b/example.c
index 6b645211..8a2b1ab4 100644
--- a/example.c
+++ b/example.c
@@ -43,8 +43,6 @@ static const char *opcodes[] = {
[OP_AND] = "and",
[OP_OR] = "or",
[OP_XOR] = "xor",
- [OP_AND_BOOL] = "and-bool",
- [OP_OR_BOOL] = "or-bool",
/* Binary comparison */
[OP_SET_EQ] = "seteq",
@@ -1402,7 +1400,6 @@ static void generate_one_insn(struct instruction *insn, struct bb_state *state)
case OP_ADD: case OP_MUL:
case OP_AND: case OP_OR: case OP_XOR:
- case OP_AND_BOOL: case OP_OR_BOOL:
generate_commutative_binop(state, insn);
break;