From e8d9177a1533411eb53593c7a16cfa6c188952c9 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 4 Jun 2009 05:36:36 +0000 Subject: Use dyn_cast<> instead of dyn_ref_cast. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72847 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Expr/Constraints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Expr/Constraints.cpp') 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 ConstraintManager::simplifyExpr(ref e) const { for (ConstraintManager::constraints_ty::const_iterator it = constraints.begin(), ie = constraints.end(); it != ie; ++it) { - if (const EqExpr *ee = dyn_ref_cast(*it)) { + if (const EqExpr *ee = dyn_cast(*it)) { if (ee->left->isConstant()) { equalities.insert(std::make_pair(ee->right, ee->left)); -- cgit 1.4.1