Skip to content

Commit cbe86af

Browse files
committed
write_smt2: support $buf and $barrier
1 parent ab293d6 commit cbe86af

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
@@ -677,7 +677,7 @@ struct Smt2Worker
677677
if (cell->type == ID($eqx)) return export_bvop(cell, "(= A B)", 'b');
678678

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

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

0 commit comments

Comments
 (0)