summaryrefslogtreecommitdiff
path: root/src/theory/rewriter_tables_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/rewriter_tables_template.h')
-rw-r--r--src/theory/rewriter_tables_template.h23
1 files changed, 2 insertions, 21 deletions
diff --git a/src/theory/rewriter_tables_template.h b/src/theory/rewriter_tables_template.h
index 531b62a49..e1be6355b 100644
--- a/src/theory/rewriter_tables_template.h
+++ b/src/theory/rewriter_tables_template.h
@@ -29,22 +29,6 @@ ${rewriter_includes}
namespace CVC4 {
namespace theory {
-RewriteResponse Rewriter::callPreRewrite(theory::TheoryId theoryId, TNode node) {
- switch(theoryId) {
-${pre_rewrite_calls}
- default:
- Unreachable();
- }
-}
-
-RewriteResponse Rewriter::callPostRewrite(theory::TheoryId theoryId, TNode node) {
- switch(theoryId) {
-${post_rewrite_calls}
- default:
- Unreachable();
- }
-}
-
Node Rewriter::getPreRewriteCache(theory::TheoryId theoryId, TNode node) {
switch(theoryId) {
${pre_rewrite_get_cache}
@@ -77,14 +61,11 @@ ${post_rewrite_set_cache}
}
}
-void Rewriter::init() {
+Rewriter::Rewriter()
+{
${rewrite_init}
}
-void Rewriter::shutdown() {
-${rewrite_shutdown}
-}
-
void Rewriter::clearCachesInternal() {
typedef CVC4::expr::attr::AttributeUniqueId AttributeUniqueId;
std::vector<AttributeUniqueId> preids;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback