Remove static calls to rewrite involving array constants (#8613)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Thu, 14 Apr 2022 19:11:57 +0000 (14:11 -0500)
committerGitHub <noreply@github.com>
Thu, 14 Apr 2022 19:11:57 +0000 (19:11 +0000)
commit354441c5b1c3d0f4d19d1f92e45df08e1d615b2c
tree87c344d4ecf4ff85dd43e965d70e778013ad91a6
parentb616ca023628bac8d431e1949a547973202c6f0a
Remove static calls to rewrite involving array constants (#8613)

The type enumerators for arrays and functions relied on static calls to the rewriter. This is overkill, as the appropriate calls to the utility method normalizeConstant in the array rewriter class suffices.

The eliminates 2 of the remaining static calls to the rewriter.
src/theory/arrays/theory_arrays_rewriter.cpp
src/theory/arrays/theory_arrays_rewriter.h
src/theory/arrays/type_enumerator.cpp
src/theory/uf/function_const.cpp