diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-04-03 21:33:42 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-04-03 21:33:42 +0000 |
commit | aa41cd57e0223306f146b421df1b88893a36bd81 (patch) | |
tree | 40bbe08a40b20ac5c95d35c7d0471588fac6a011 /llvm/lib/IR/Core.cpp | |
parent | 65fab6d89666e88ed1c9841164ca5b8b0653fec1 (diff) | |
download | bcm5719-llvm-aa41cd57e0223306f146b421df1b88893a36bd81.tar.gz bcm5719-llvm-aa41cd57e0223306f146b421df1b88893a36bd81.zip |
[opaque pointer type] More GEP IRBuilder API migrations...
llvm-svn: 234058
Diffstat (limited to 'llvm/lib/IR/Core.cpp')
-rw-r--r-- | llvm/lib/IR/Core.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/IR/Core.cpp b/llvm/lib/IR/Core.cpp index caaf13f7932..00160aca16e 100644 --- a/llvm/lib/IR/Core.cpp +++ b/llvm/lib/IR/Core.cpp @@ -2512,7 +2512,8 @@ LLVMValueRef LLVMBuildInBoundsGEP(LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) { ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); - return wrap(unwrap(B)->CreateInBoundsGEP(unwrap(Pointer), IdxList, Name)); + return wrap( + unwrap(B)->CreateInBoundsGEP(nullptr, unwrap(Pointer), IdxList, Name)); } LLVMValueRef LLVMBuildStructGEP(LLVMBuilderRef B, LLVMValueRef Pointer, |