File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ struct mbp_dt_tg::impl {
7272
7373 // rewrite head(x) with y
7474 // and x with list(y, z)
75- void rm_select (expr *term) {
75+ void rm_accessor (expr *term) {
7676 SASSERT (is_app (term) &&
7777 m_dt_util.is_accessor (to_app (term)->get_decl ()) &&
78- is_var (to_app (term)->get_arg (0 )));
79- TRACE (" mbp_tg" , tout << " applying rm_select on " << expr_ref (term, m););
78+ has_var (to_app (term)->get_arg (0 )));
79+ TRACE (" mbp_tg" , tout << " applying rm_accessor on " << expr_ref (term, m););
8080 expr *v = to_app (term)->get_arg (0 );
8181 expr_ref sel (m);
8282 app_ref u (m);
@@ -162,10 +162,10 @@ struct mbp_dt_tg::impl {
162162 if (m_tg.is_cgr (term)) continue ;
163163 if (is_app (term) &&
164164 m_dt_util.is_accessor (to_app (term)->get_decl ()) &&
165- is_var (to_app (term)->get_arg (0 ))) {
165+ has_var (to_app (term)->get_arg (0 ))) {
166166 mark_seen (term);
167167 progress = true ;
168- rm_select (term);
168+ rm_accessor (term);
169169 continue ;
170170 }
171171 if (is_constructor_app (term, cons, rhs)) {
You can’t perform that action at this time.
0 commit comments