From f5e6b462646f5a20dd0e5f6c4befaa7b72d1e1ff Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 28 Jul 2009 07:59:09 +0000 Subject: Move Machine constants into Context object, initialized based on the target data. - This is the first step towards having KLEE be fully target independent, its not particularly beautiful but its expedient. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@77306 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Solver/FastCexSolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Solver') diff --git a/lib/Solver/FastCexSolver.cpp b/lib/Solver/FastCexSolver.cpp index fbf2ecf2..b7a7f4fc 100644 --- a/lib/Solver/FastCexSolver.cpp +++ b/lib/Solver/FastCexSolver.cpp @@ -1115,7 +1115,7 @@ FastCexSolver::computeInitialValues(const Query& query, for (unsigned i=0; i < array->size; i++) { ref read = ReadExpr::create(UpdateList(array, 0), - ConstantExpr::create(i, kMachinePointerType)); + ConstantExpr::create(i, Expr::Int32)); ref value = cd.evaluatePossible(read); if (ConstantExpr *CE = dyn_cast(value)) { -- cgit 1.4.1