diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-12 20:29:01 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-12 20:29:01 +0000 |
commit | 1277acf6d1de3208a458d76710a94e63f9d3bf94 (patch) | |
tree | 5c11e410f4aa817a9bca6f8f372937ff470e24a8 /lib | |
parent | dadbf3a772a74deee16006103d0ae2ac8b40065a (diff) | |
download | klee-1277acf6d1de3208a458d76710a94e63f9d3bf94.tar.gz |
Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@75425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Core/Executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 62f033be..a921511e 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -402,7 +402,7 @@ void Executor::initializeGlobalObject(ExecutionState &state, ObjectState *os, // Extend the constant if necessary; assert(StoreBits >= C->getWidth() && "Invalid store size!"); if (StoreBits > C->getWidth()) - C = ConstantExpr::alloc(0, StoreBits - C->getWidth())->Concat(C); + C = C->ZExt(StoreBits); os->write(offset, C); } |