projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[opaque pointer type] The last of the GEP IRBuilder API migrations
[oota-llvm.git]
/
lib
/
IR
/
Core.cpp
diff --git
a/lib/IR/Core.cpp
b/lib/IR/Core.cpp
index 00160aca16e0265f94e16e3a4bffd42d3ce8a832..7fe7beb40c6b47fe3913de269045d1e2b14cc849 100644
(file)
--- a/
lib/IR/Core.cpp
+++ b/
lib/IR/Core.cpp
@@
-2518,7
+2518,7
@@
LLVMValueRef LLVMBuildInBoundsGEP(LLVMBuilderRef B, LLVMValueRef Pointer,
LLVMValueRef LLVMBuildStructGEP(LLVMBuilderRef B, LLVMValueRef Pointer,
unsigned Idx, const char *Name) {
LLVMValueRef LLVMBuildStructGEP(LLVMBuilderRef B, LLVMValueRef Pointer,
unsigned Idx, const char *Name) {
- return wrap(unwrap(B)->CreateStructGEP(unwrap(Pointer), Idx, Name));
+ return wrap(unwrap(B)->CreateStructGEP(
nullptr,
unwrap(Pointer), Idx, Name));
}
LLVMValueRef LLVMBuildGlobalString(LLVMBuilderRef B, const char *Str,
}
LLVMValueRef LLVMBuildGlobalString(LLVMBuilderRef B, const char *Str,