diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-21 22:51:30 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-10-21 22:51:30 +0000 |
commit | 22f47a144520f39801abb3acacbf3639886b0478 (patch) | |
tree | 13a5808dac1f0a946e1a14c414a45f16b2a6b00e /src/expr/node_builder.h | |
parent | 91829206b4783a532453eab3c69de83b8b510286 (diff) |
* Option --no-type-checking now disables type checks in SmtEngine
* Adding options --lazy-type-checking and --eager-type-checking
to control type checking in NodeBuilder, which can now be enabled
in production mode and disabled in debug mode
* Option --no-checking implies --no-type-checking
* Adding constructor SmtEngine(ExprManager* em) that uses default options
Diffstat (limited to 'src/expr/node_builder.h')
-rw-r--r-- | src/expr/node_builder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/node_builder.h b/src/expr/node_builder.h index 4c8bc578a..095e81868 100644 --- a/src/expr/node_builder.h +++ b/src/expr/node_builder.h @@ -664,7 +664,7 @@ private: inline void debugCheckType(const TNode n) const { // force an immediate type check, if we are in debug mode // and the current node isn't a variable or constant - if( IS_DEBUG_BUILD && d_nm->d_earlyTypeChecking ) { + if( d_nm->d_earlyTypeChecking ) { kind::MetaKind mk = n.getMetaKind(); if( mk != kind::metakind::VARIABLE && mk != kind::metakind::CONSTANT ) { |