diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2019-09-27 10:57:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-27 10:57:58 -0700 |
commit | 6c878c1cf54620b10bac95e5765d0d03bf718f5c (patch) | |
tree | e173b16c2d36abd2953a29e8659cb9bafec1c068 /src/preprocessing/preprocessing_pass_context.h | |
parent | 64e8ad696a1accdf489a3073cc480f591be04c39 (diff) |
Make substitution index context-independent (#2474)
When we do solving in incremental mode, we store substitutions at a
special index in our list of assertions. Previously, we used a
context-dependent variable for that. However, this is not needed since
the list of assertions just consists of the assertions currently being
processed, which are independent of the assertions seen so far. This
commit changes the index to be an ordinary integer and moves it to the
AssertionPipeline. Additionally, it abstracts access to the index in
preparation for splitting AssertionPipeline into three vectors (see
issue #2473).
Diffstat (limited to 'src/preprocessing/preprocessing_pass_context.h')
-rw-r--r-- | src/preprocessing/preprocessing_pass_context.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/preprocessing/preprocessing_pass_context.h b/src/preprocessing/preprocessing_pass_context.h index e37680538..37744151c 100644 --- a/src/preprocessing/preprocessing_pass_context.h +++ b/src/preprocessing/preprocessing_pass_context.h @@ -71,10 +71,6 @@ class PreprocessingPassContext /* Widen the logic to include the given theory. */ void widenLogic(theory::TheoryId id); - unsigned getSubstitutionsIndex() const { return d_substitutionsIndex.get(); } - - void setSubstitutionsIndex(unsigned i) { d_substitutionsIndex = i; } - /** Gets a reference to the top-level substitution map */ theory::SubstitutionMap& getTopLevelSubstitutions() { @@ -101,9 +97,6 @@ class PreprocessingPassContext /** Instance of the ITE remover */ RemoveTermFormulas* d_iteRemover; - /* Index for where to store substitutions */ - context::CDO<unsigned> d_substitutionsIndex; - /* The top level substitutions */ theory::SubstitutionMap d_topLevelSubstitutions; |