Skip to content

Commit c7fd92e

Browse files
committed
write_smt2: support $buf and $barrier
1 parent ff62237 commit c7fd92e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/smt2/smt2.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ struct Smt2Worker
678678
if (cell->type == ID($eqx)) return export_bvop(cell, "(= A B)", 'b');
679679

680680
if (cell->type == ID($not)) return export_bvop(cell, "(bvnot A)");
681-
if (cell->type == ID($pos)) return export_bvop(cell, "A");
681+
if (cell->type.in(ID($pos), ID($buf), ID($barrier))) return export_bvop(cell, "A");
682682
if (cell->type == ID($neg)) return export_bvop(cell, "(bvneg A)");
683683

684684
if (cell->type == ID($add)) return export_bvop(cell, "(bvadd A B)");

0 commit comments

Comments
 (0)