about summary refs log tree commit diff homepage
path: root/lib/Expr/Constraints.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-04 05:36:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-04 05:36:36 +0000
commite8d9177a1533411eb53593c7a16cfa6c188952c9 (patch)
tree75049dcecf1e229ac6016b5d8dc854d7f3e60443 /lib/Expr/Constraints.cpp
parentc35afac49b59fab490b8a369420c76cfff3d72fa (diff)
downloadklee-e8d9177a1533411eb53593c7a16cfa6c188952c9.tar.gz
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
Diffstat (limited to 'lib/Expr/Constraints.cpp')
-rw-r--r--lib/Expr/Constraints.cpp2
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));