feat(library/compiler/util): do not consider constructors to be cost zero
This commit is contained in:
parent
7fed0b5cb0
commit
21b8199bc4
1 changed files with 0 additions and 2 deletions
|
|
@ -363,8 +363,6 @@ unsigned get_lcnf_size(environment const & env, expr e) {
|
|||
e = app_fn(e);
|
||||
}
|
||||
return r;
|
||||
} else if (is_constructor_app(env, e)) {
|
||||
return 0;
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue