summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Core.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-03-15 01:03:19 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-03-15 01:03:19 +0000
commit86ecb1bdaf2e7570ac33cc9e00d76375cf00d5d2 (patch)
tree69452bd906dd406f717aa34057b76a49b8a141fb /llvm/lib/IR/Core.cpp
parent11d509dba06aeff0744a8964ac4a19f58dd80a02 (diff)
downloadbcm5719-llvm-86ecb1bdaf2e7570ac33cc9e00d76375cf00d5d2.tar.gz
bcm5719-llvm-86ecb1bdaf2e7570ac33cc9e00d76375cf00d5d2.zip
[opaque pointer type] IRBuilder gep migration progress
llvm-svn: 232294
Diffstat (limited to 'llvm/lib/IR/Core.cpp')
-rw-r--r--llvm/lib/IR/Core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Core.cpp b/llvm/lib/IR/Core.cpp
index f007616a1c3..613147e5145 100644
--- a/llvm/lib/IR/Core.cpp
+++ b/llvm/lib/IR/Core.cpp
@@ -2506,7 +2506,7 @@ LLVMValueRef LLVMBuildGEP(LLVMBuilderRef B, LLVMValueRef Pointer,
LLVMValueRef *Indices, unsigned NumIndices,
const char *Name) {
ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices);
- return wrap(unwrap(B)->CreateGEP(unwrap(Pointer), IdxList, Name));
+ return wrap(unwrap(B)->CreateGEP(nullptr, unwrap(Pointer), IdxList, Name));
}
LLVMValueRef LLVMBuildInBoundsGEP(LLVMBuilderRef B, LLVMValueRef Pointer,
OpenPOWER on IntegriCloud