File tree 1 file changed +5
-5
lines changed
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 {
72
72
73
73
// rewrite head(x) with y
74
74
// and x with list(y, z)
75
- void rm_select (expr *term) {
75
+ void rm_accessor (expr *term) {
76
76
SASSERT (is_app (term) &&
77
77
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););
80
80
expr *v = to_app (term)->get_arg (0 );
81
81
expr_ref sel (m);
82
82
app_ref u (m);
@@ -162,10 +162,10 @@ struct mbp_dt_tg::impl {
162
162
if (m_tg.is_cgr (term)) continue ;
163
163
if (is_app (term) &&
164
164
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 ))) {
166
166
mark_seen (term);
167
167
progress = true ;
168
- rm_select (term);
168
+ rm_accessor (term);
169
169
continue ;
170
170
}
171
171
if (is_constructor_app (term, cons, rhs)) {
You can’t perform that action at this time.
0 commit comments