From 4aea9d3d47e7e47630704fdf6628221fa45f6151 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 2 Jun 2009 17:01:00 +0000 Subject: Use ConstantExpr::alloc instead of ref directly - The "constant optimization" embedded inside ref is going away. - No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72730 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Core/TimingSolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Core/TimingSolver.cpp') diff --git a/lib/Core/TimingSolver.cpp b/lib/Core/TimingSolver.cpp index 70e42836..4c09a1aa 100644 --- a/lib/Core/TimingSolver.cpp +++ b/lib/Core/TimingSolver.cpp @@ -130,7 +130,7 @@ TimingSolver::getInitialValues(const ExecutionState& state, sys::Process::GetTimeUsage(now,user,sys); bool success = solver->getInitialValues(Query(state.constraints, - ref(0, Expr::Bool)), + ConstantExpr::alloc(0, Expr::Bool)), objects, result); sys::Process::GetTimeUsage(delta,user,sys); -- cgit 1.4.1