mirror of
https://github.com/Z3Prover/z3
synced 2026-06-29 03:48:51 +00:00
change back coalesce_chars to true, a regression
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
596f158e44
commit
2c5aef7d28
1 changed files with 0 additions and 2 deletions
|
|
@ -470,7 +470,6 @@ br_status seq_rewriter::mk_app_core(func_decl * f, unsigned num_args, expr * con
|
|||
*/
|
||||
br_status seq_rewriter::mk_seq_unit(expr* e, expr_ref& result) {
|
||||
unsigned ch;
|
||||
verbose_stream() << "mk_seq_unit: " << mk_ismt2_pp(e, m()) << " " << m_coalesce_chars << "\n";
|
||||
// specifically we want (_ BitVector 8)
|
||||
if (m_util.is_const_char(e, ch) && m_coalesce_chars) {
|
||||
// convert to string constant
|
||||
|
|
@ -502,7 +501,6 @@ br_status seq_rewriter::mk_seq_concat(expr* a, expr* b, expr_ref& result) {
|
|||
bool isc1 = str().is_string(a, s1) && m_coalesce_chars;
|
||||
bool isc2 = str().is_string(b, s2) && m_coalesce_chars;
|
||||
|
||||
verbose_stream() << "mk_seq_concat: a = " << mk_ismt2_pp(a, m()) << ", b = " << mk_ismt2_pp(b, m()) << "\n";
|
||||
if (isc1 && isc2) {
|
||||
result = str().mk_string(s1 + s2);
|
||||
return BR_DONE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue