diff options
author | Julian Büning <julian.buening@rwth-aachen.de> | 2019-03-20 21:22:55 +0100 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2019-03-21 12:46:01 +0000 |
commit | 539323d70215d0248303078f9c400a88dfeb8012 (patch) | |
tree | 3a64bb9f6f3f572b402ab0ca6d693ccae85df8a3 /lib/Module | |
parent | 887d48856f0bbfc5adfa1caea029d938a1ecb342 (diff) | |
download | klee-539323d70215d0248303078f9c400a88dfeb8012.tar.gz |
remove obsolete macro KLEE_LLVM_GEP_TYPE
Diffstat (limited to 'lib/Module')
-rw-r--r-- | lib/Module/IntrinsicCleaner.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/Module/IntrinsicCleaner.cpp b/lib/Module/IntrinsicCleaner.cpp index cb006799..4c0920b3 100644 --- a/lib/Module/IntrinsicCleaner.cpp +++ b/lib/Module/IntrinsicCleaner.cpp @@ -89,16 +89,12 @@ bool IntrinsicCleanerPass::runOnBasicBlock(BasicBlock &b, Module &M) { Builder.CreateStore(val, pDst, ii); auto off = ConstantInt::get(Type::getInt64Ty(ctx), 1); - pDst = Builder.CreateGEP(KLEE_LLVM_GEP_TYPE(nullptr) pDst, off, - std::string()); - pSrc = Builder.CreateGEP(KLEE_LLVM_GEP_TYPE(nullptr) pSrc, off, - std::string()); + pDst = Builder.CreateGEP(nullptr, pDst, off, std::string()); + pSrc = Builder.CreateGEP(nullptr, pSrc, off, std::string()); val = Builder.CreateLoad(pSrc, std::string()); Builder.CreateStore(val, pDst); - pDst = Builder.CreateGEP(KLEE_LLVM_GEP_TYPE(nullptr) pDst, off, - std::string()); - pSrc = Builder.CreateGEP(KLEE_LLVM_GEP_TYPE(nullptr) pSrc, off, - std::string()); + pDst = Builder.CreateGEP(nullptr, pDst, off, std::string()); + pSrc = Builder.CreateGEP(nullptr, pSrc, off, std::string()); val = Builder.CreateLoad(pSrc, std::string()); Builder.CreateStore(val, pDst); } |