]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Read the global STPManager in cleanup(), rather than a pointer to it.
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 6 Nov 2009 05:13:37 +0000 (05:13 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 6 Nov 2009 05:13:37 +0000 (05:13 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@386 e59a4935-1847-0410-ae03-e826735625c1

src/AST/ASTBVConst.cpp
src/AST/ASTInterior.cpp
src/AST/ASTSymbol.cpp

index 71aa8dfa21b7e26f575438075c88dd238fe63012..8fd0e647c71627d5920e9df1d79a38929aa11d3e 100644 (file)
@@ -35,7 +35,7 @@ namespace BEEV
   // unique table
   void ASTBVConst::CleanUp()
   {
-    (GlobalSTP->bm)->_bvconst_unique_table.erase(this);
+    (ParserBM)->_bvconst_unique_table.erase(this);
     delete this;
   } //End of Cleanup()
 
index cc8c2a5abd5da72e559e3e64a195405361d55c31..e1b9db73322b6627a1397be0bae4aa141fefc85e 100644 (file)
@@ -19,7 +19,7 @@ namespace BEEV
   // the unique table
   void ASTInterior::CleanUp()
   {
-    (GlobalSTP->bm)->_interior_unique_table.erase(this);
+    (ParserBM)->_interior_unique_table.erase(this);
     delete this;
   } //End of Cleanup()
 
index 6e1ea6d64eb3a0acb8504e9d90a66bb92122be5b..e4ccd9099070ad3829d0ad8f117a307c9a26fc3b 100644 (file)
@@ -32,7 +32,7 @@ namespace BEEV
   // unique table
   void ASTSymbol::CleanUp()
   {
-    (GlobalSTP->bm)->_symbol_unique_table.erase(this);
+    (ParserBM)->_symbol_unique_table.erase(this);
     free((char*) this->_name);
     delete this;
   }//End of cleanup()