[buddy] avoid costly calls to setjmp() when BDD_REORDER_NONE

* src/reorder.c, src/kernel.h: Expose bddreordermethod.
* src/bddop.c: Test bddreordermethod before ever calling setjmp().
This commit is contained in:
Alexandre Duret-Lutz 2016-11-09 11:03:24 +01:00
parent 2e6297c26a
commit 0ac14e9ca2
3 changed files with 26 additions and 12 deletions

View file

@ -132,6 +132,9 @@ extern int bddreorderdisabled;
extern int bddresized;
extern bddCacheStat bddcachestats;
/* from reorder.c */
extern int bddreordermethod;
#ifdef CPLUSPLUS
}
#endif