projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4859705
)
Guard for expensive Debug trace
author
Clark Barrett
<barrett@cs.nyu.edu>
Fri, 4 May 2012 17:18:02 +0000
(17:18 +0000)
committer
Clark Barrett
<barrett@cs.nyu.edu>
Fri, 4 May 2012 17:18:02 +0000
(17:18 +0000)
src/theory/term_registration_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/theory/term_registration_visitor.cpp
b/src/theory/term_registration_visitor.cpp
index 897c0fa2d904d9789973a0bb4bc7f29b45f58aca..1ed4525f45ff743d189990d7a0a2df37b070b6dd 100644
(file)
--- 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);