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/Core/ExternalDispatcher.cpp | |
parent | 887d48856f0bbfc5adfa1caea029d938a1ecb342 (diff) | |
download | klee-539323d70215d0248303078f9c400a88dfeb8012.tar.gz |
remove obsolete macro KLEE_LLVM_GEP_TYPE
Diffstat (limited to 'lib/Core/ExternalDispatcher.cpp')
-rw-r--r-- | lib/Core/ExternalDispatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/ExternalDispatcher.cpp b/lib/Core/ExternalDispatcher.cpp index 60bdf711..28bc1898 100644 --- a/lib/Core/ExternalDispatcher.cpp +++ b/lib/Core/ExternalDispatcher.cpp @@ -330,7 +330,7 @@ Function *ExternalDispatcherImpl::createDispatcher(Function *target, auto argTy = (i < FTy->getNumParams() ? FTy->getParamType(i) : (*ai)->getType()); auto argI64p = - Builder.CreateGEP(KLEE_LLVM_GEP_TYPE(nullptr) argI64s, + Builder.CreateGEP(nullptr, argI64s, ConstantInt::get(Type::getInt32Ty(ctx), idx)); auto argp = Builder.CreateBitCast(argI64p, PointerType::getUnqual(argTy)); |