* Fix "make clean" to not try to delete a non-existant path.
* Fix "make clean" to remove all the .o files.
* Delete config.info from svn.
* Pre-size some vectors during CNF generation. When solving a single 64-bit multiply, this reduces total runtime by about 5%.
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@143
e59a4935-1847-0410-ae03-
e826735625c1
+++ /dev/null
-PREFIX=/Users/katelman
clean:
rm -rf *.o *~ bbtest asttest cnftest *.a ASTKind.h ASTKind.cpp .#*
- rm -rf outputer/*.o
+ rm -rf printer/*.o
depend:
makedepend -Y -- $(CFLAGS) -- $(SRCS)
{
BeevMgr::ClauseList* psi = new BeevMgr::ClauseList();
+ psi->reserve(varphi1.size() * varphi2.size());
BeevMgr::ClauseList::const_iterator it1 = varphi1.begin();
for (; it1 != varphi1.end(); it1++)
{
BeevMgr::ClausePtr clause2 = *it2;
BeevMgr::ClausePtr clause = new vector<const ASTNode*> ();
+ clause->reserve(clause1->size() + clause2->size());
clause->insert(clause->end(), clause1->begin(), clause1->end());
clause->insert(clause->end(), clause2->begin(), clause2->end());
psi->push_back(clause);
#include "parseSMT_defs.h"
extern char *smttext;
- extern int smterror (char *msg);
+ extern int smterror (const char *msg);
// File-static (local to this file) variables and functions
static std::string _string_lit;
extern int smtlex(void);
- int yyerror(char *s) {
+ int yyerror(const char *s) {
cout << "syntax error: line " << smtlineno << "\n" << s << endl;
cout << " token: " << smttext << endl;
BEEV::FatalError("");
}
else
{
+ n = NULL; // remove gcc warning.
yyerror("Rotate must be strictly less than the width.");
}
}
else
{
+ n = NULL; // remove gcc warning.
yyerror("Rotate must be strictly less than the width.");
}
rm -rf *~ libminisat.a
$(MAKE) -C core clean
$(MAKE) -C simp clean
- $(MAKE) -C unsound clean
\ No newline at end of file
+ #$(MAKE) -C unsound clean