diff options
Diffstat (limited to 'lib/Expr/Constraints.cpp')
-rw-r--r-- | lib/Expr/Constraints.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Expr/Constraints.cpp b/lib/Expr/Constraints.cpp index 3fa58ffd..9103c7c3 100644 --- a/lib/Expr/Constraints.cpp +++ b/lib/Expr/Constraints.cpp @@ -94,7 +94,7 @@ ref<Expr> ConstraintManager::simplifyExpr(ref<Expr> e) const { for (ConstraintManager::constraints_ty::const_iterator it = constraints.begin(), ie = constraints.end(); it != ie; ++it) { - if (const EqExpr *ee = dyn_ref_cast<EqExpr>(*it)) { + if (const EqExpr *ee = dyn_cast<EqExpr>(*it)) { if (ee->left->isConstant()) { equalities.insert(std::make_pair(ee->right, ee->left)); |