summaryrefslogtreecommitdiff
path: root/src/theory/term_registration_visitor.cpp
diff options
context:
space:
mode:
authorClark Barrett <barrett@cs.nyu.edu>2012-05-04 17:18:02 +0000
committerClark Barrett <barrett@cs.nyu.edu>2012-05-04 17:18:02 +0000
commitc4a96dc3a0ace41e5f746207847a57ce1c6d4d33 (patch)
treef902b8bcd1d6fb6e387ebb80d7b04131d93369db /src/theory/term_registration_visitor.cpp
parent48597056ca70a0e80c7ad097b728c274931cebc4 (diff)
Guard for expensive Debug trace
Diffstat (limited to 'src/theory/term_registration_visitor.cpp')
-rw-r--r--src/theory/term_registration_visitor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/term_registration_visitor.cpp b/src/theory/term_registration_visitor.cpp
index 897c0fa2d..1ed4525f4 100644
--- a/src/theory/term_registration_visitor.cpp
+++ b/src/theory/term_registration_visitor.cpp
@@ -67,7 +67,9 @@ void PreRegisterVisitor::visit(TNode current, TNode parent) {
Theory::Set theories;
Debug("register") << "PreRegisterVisitor::visit(" << current << "," << parent << ")" << std::endl;
- Debug("register::internal") << toString() << std::endl;
+ if (Debug.isOn("register::internal")) {
+ Debug("register::internal") << toString() << std::endl;
+ }
// Get the theories of the terms
TheoryId currentTheoryId = Theory::theoryOf(current);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback