summaryrefslogtreecommitdiff
path: root/src/preprocessing/preprocessing_pass.cpp
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2018-07-02 16:51:03 -0700
committerGitHub <noreply@github.com>2018-07-02 16:51:03 -0700
commitbe08eae24750b006d8a4b1e27e0e242553f64735 (patch)
treef467d044a1166055fd10d91f2d21239c215ff869 /src/preprocessing/preprocessing_pass.cpp
parentafd4d46b2559c9bb3427678ca287c33d3923ef7f (diff)
Refactor ApplySubsts preprocessing pass. (#2120)
Diffstat (limited to 'src/preprocessing/preprocessing_pass.cpp')
-rw-r--r--src/preprocessing/preprocessing_pass.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/preprocessing/preprocessing_pass.cpp b/src/preprocessing/preprocessing_pass.cpp
index 06992dedc..97b05802d 100644
--- a/src/preprocessing/preprocessing_pass.cpp
+++ b/src/preprocessing/preprocessing_pass.cpp
@@ -2,7 +2,7 @@
/*! \file preprocessing_pass.cpp
** \verbatim
** Top contributors (to current version):
- ** Justin Xu
+ ** Justin Xu, Aina Niemetz
** This file is part of the CVC4 project.
** Copyright (c) 2009-2018 by the authors listed in the file AUTHORS
** in the top-level source directory) and their institutional affiliations.
@@ -24,6 +24,11 @@
namespace CVC4 {
namespace preprocessing {
+AssertionPipeline::AssertionPipeline(context::Context* context)
+ : d_substitutionsIndex(context, 0), d_topLevelSubstitutions(context)
+{
+}
+
void AssertionPipeline::replace(size_t i, Node n) {
PROOF(ProofManager::currentPM()->addDependence(n, d_nodes[i]););
d_nodes[i] = n;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback