diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-07 16:17:02 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-07 16:17:02 +0000 |
commit | 16e6ca90c899f716a02aae23511ec729caeebdcb (patch) | |
tree | afa043920fa4a39d7206165a4ed896b58e1bb9c1 /lib/Expr | |
parent | 20aebfdb32657e9427c6a2567516dc8fd8843bdb (diff) | |
download | klee-16e6ca90c899f716a02aae23511ec729caeebdcb.tar.gz |
Make sure to include arrays to be evaluated in the set of used arrays.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@73030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Expr')
-rw-r--r-- | lib/Expr/ExprPPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Expr/ExprPPrinter.cpp b/lib/Expr/ExprPPrinter.cpp index 7bfb6567..3fa7155b 100644 --- a/lib/Expr/ExprPPrinter.cpp +++ b/lib/Expr/ExprPPrinter.cpp @@ -529,6 +529,8 @@ void ExprPPrinter::printQuery(std::ostream &os, // Print array declarations. if (printArrayDecls) { + for (const Array * const* it = evalArraysBegin; it != evalArraysEnd; ++it) + p.usedArrays.insert(*it); for (std::set<const Array*>::iterator it = p.usedArrays.begin(), ie = p.usedArrays.end(); it != ie; ++it) { const Array *A = *it; |