projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
576283c
)
[llvm-ocaml] Fix arity mismatch in pointer bindings
author
Alan Hu
<alanh@ccs.neu.edu>
Thu, 13 Oct 2022 17:07:06 +0000
(10:07 -0700)
committer
Arthur Eubanks
<aeubanks@google.com>
Thu, 13 Oct 2022 17:07:10 +0000
(10:07 -0700)
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/
D135842
llvm/bindings/ocaml/llvm/llvm_ocaml.c
patch
|
blob
|
history
diff --git
a/llvm/bindings/ocaml/llvm/llvm_ocaml.c
b/llvm/bindings/ocaml/llvm/llvm_ocaml.c
index d6346ae7de2e330099922b48ef4aef5963e326c5..d087233a3ab156f1fcec00017d0c8b3e5f8e723d 100644
(file)
--- a/
llvm/bindings/ocaml/llvm/llvm_ocaml.c
+++ b/
llvm/bindings/ocaml/llvm/llvm_ocaml.c
@@
-571,7
+571,7
@@
LLVMTypeRef llvm_array_type(LLVMTypeRef ElementTy, value Count) {
}
/* llcontext -> lltype */
-LLVMTypeRef llvm_pointer_type(LLVMContextRef C
, value AddressSpace
) {
+LLVMTypeRef llvm_pointer_type(LLVMContextRef C) {
return LLVMPointerTypeInContext(C, 0);
}