Reorder class members in bv-to-bool and bool-to-bv preprocessing passes. (#1893)
authoryoni206 <yoni206@users.noreply.github.com>
Wed, 9 May 2018 19:05:30 +0000 (12:05 -0700)
committerAina Niemetz <aina.niemetz@gmail.com>
Wed, 9 May 2018 19:05:30 +0000 (12:05 -0700)
src/preprocessing/passes/bool_to_bv.h
src/preprocessing/passes/bv_to_bool.h

index e85693d1c5ab48790f7268f3245c99385bc00dfa..8a71413a2430e5204ca62c95c6ec0c99a3d12817 100644 (file)
@@ -52,10 +52,10 @@ class BoolToBV : public PreprocessingPass
   Node getLowerCache(TNode term) const;
   bool hasLowerCache(TNode term) const;
   Node lowerNode(TNode current, bool topLevel = false);
-  Statistics d_statistics;
   NodeNodeMap d_lowerCache;
   Node d_one;
   Node d_zero;
+  Statistics d_statistics;
 };  // class
 }  // namespace passes
 }  // namespace preprocessing
index f772087e8d55fa808fd405bbc535e93fea9854b4..c04fd8699ab792c649dd4c05c788dcba7bd3d798 100644 (file)
@@ -65,11 +65,11 @@ class BVToBool : public PreprocessingPass
   void liftBvToBool(const std::vector<Node>& assertions,
                     std::vector<Node>& new_assertions);
 
-  Statistics d_statistics;
   NodeNodeMap d_liftCache;
   NodeNodeMap d_boolCache;
   Node d_one;
   Node d_zero;
+  Statistics d_statistics;
 };
 
 }  // namespace passes