summaryrefslogtreecommitdiff
path: root/src/theory/mkrewriter
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/mkrewriter')
-rwxr-xr-xsrc/theory/mkrewriter6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/mkrewriter b/src/theory/mkrewriter
index 395317045..b8fa51d77 100755
--- a/src/theory/mkrewriter
+++ b/src/theory/mkrewriter
@@ -47,6 +47,8 @@ post_rewrite_calls=
post_rewrite_get_cache=
post_rewrite_set_cache=
+rewrite_equality_calls=
+
seen_theory=false
seen_theory_builtin=false
@@ -132,6 +134,9 @@ function rewriter {
post_rewrite_set_cache="${post_rewrite_set_cache} case ${theory_id}: return RewriteAttibute<${theory_id}>::setPostRewriteCache(node, cache);
"
+ rewrite_equality_calls="${rewrite_equality_calls} case ${theory_id}: return ${class}::rewriteEquality(node);
+"
+
lineno=${BASH_LINENO[0]}
check_theory_seen
}
@@ -224,6 +229,7 @@ for var in \
rewriter_includes \
pre_rewrite_calls \
post_rewrite_calls \
+ rewrite_equality_calls \
pre_rewrite_get_cache \
post_rewrite_get_cache \
pre_rewrite_set_cache \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback