projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e45051
)
[OCaml] Llvm_target: fix typo (Int_val instead of Int64_val)
author
Peter Zotov
<whitequark@whitequark.org>
Sun, 3 Nov 2013 08:27:08 +0000
(08:27 +0000)
committer
Peter Zotov
<whitequark@whitequark.org>
Sun, 3 Nov 2013 08:27:08 +0000
(08:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193948
91177308
-0d34-0410-b5e6-
96231b3b80d8
bindings/ocaml/target/target_ocaml.c
patch
|
blob
|
history
diff --git
a/bindings/ocaml/target/target_ocaml.c
b/bindings/ocaml/target/target_ocaml.c
index 86f8de023daed2582b17f6899e4576d29ab2f69a..4d0beffa5defb3313d6f3ca95f62df9c35e5ffe6 100644
(file)
--- a/
bindings/ocaml/target/target_ocaml.c
+++ b/
bindings/ocaml/target/target_ocaml.c
@@
-92,7
+92,7
@@
CAMLprim value llvm_preferred_align_of_global(LLVMTargetDataRef TD,
/* DataLayout.t -> Llvm.lltype -> Int64.t -> int */
CAMLprim value llvm_element_at_offset(LLVMTargetDataRef TD, LLVMTypeRef Ty,
value Offset) {
- return Val_int(LLVMElementAtOffset(TD, Ty, Int_val(Offset)));
+ return Val_int(LLVMElementAtOffset(TD, Ty, Int
64
_val(Offset)));
}
/* DataLayout.t -> Llvm.lltype -> int -> Int64.t */