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:18:31 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-04 05:18:31 +0000
commitc35afac49b59fab490b8a369420c76cfff3d72fa (patch)
treef6007dd12e54df74048dea00a0f2b8f130e170f8 /lib/Expr/Constraints.cpp
parent5ead9bf5153952ae45ea5c1e8933fa03a6dc85c6 (diff)
downloadklee-c35afac49b59fab490b8a369420c76cfff3d72fa.tar.gz
Use cast<> instead of static_ref_cast.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Expr/Constraints.cpp')
-rw-r--r--lib/Expr/Constraints.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Expr/Constraints.cpp b/lib/Expr/Constraints.cpp
index 93384060..3fa58ffd 100644
--- a/lib/Expr/Constraints.cpp
+++ b/lib/Expr/Constraints.cpp
@@ -127,14 +127,14 @@ void ConstraintManager::addConstraintInternal(ref<Expr> e) {
     
     // split to enable finer grained independence and other optimizations
   case Expr::And: {
-    BinaryExpr *be = static_ref_cast<BinaryExpr>(e);
+    BinaryExpr *be = cast<BinaryExpr>(e);
     addConstraintInternal(be->left);
     addConstraintInternal(be->right);
     break;
   }
 
   case Expr::Eq: {
-    BinaryExpr *be = static_ref_cast<BinaryExpr>(e);
+    BinaryExpr *be = cast<BinaryExpr>(e);
     if (be->left->isConstant()) {
       ExprReplaceVisitor visitor(be->right, be->left);
       rewriteConstraints(visitor);