diff options
Diffstat (limited to 'lib/Expr/Constraints.cpp')
-rw-r--r-- | lib/Expr/Constraints.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Expr/Constraints.cpp b/lib/Expr/Constraints.cpp index 4c18a3b3..472c0aa3 100644 --- a/lib/Expr/Constraints.cpp +++ b/lib/Expr/Constraints.cpp @@ -120,9 +120,9 @@ void ConstraintManager::addConstraintInternal(ref<Expr> e) { // ConstraintSet ADT which efficiently remembers obvious patterns // (byte-constant comparison). - switch (e.getKind()) { + switch (e->getKind()) { case Expr::Constant: - assert(e.getConstantValue() && "attempt to add invalid (false) constraint"); + assert(e->getConstantValue() && "attempt to add invalid (false) constraint"); break; // split to enable finer grained independence and other optimizations |