diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-10-17 03:12:17 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-10-17 03:12:17 +0000 |
commit | bb59480a36fb0f799af53676c07b8fca43c2fff4 (patch) | |
tree | 555fb1210e2e94ba09bb9dd447cac30a6ad2ab70 /src/theory/mkrewriter | |
parent | 5cb65d8beac0f06fcafbef99d109c09ad029b14d (diff) |
Sharing work
Diffstat (limited to 'src/theory/mkrewriter')
-rwxr-xr-x | src/theory/mkrewriter | 6 |
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 \ |