File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1515|* *|
1616\*===----------------------------------------------------------------------===*/
1717
18- #include < assert.h>
19- #include < stdlib.h>
20- #include < string.h>
18+ #include " llvm_ocaml.h"
19+ #include " caml/callback.h"
20+ #include " caml/fail.h"
21+ #include " caml/memory.h"
2122#include " llvm-c/Core.h"
2223#include " llvm-c/Support.h"
2324#include " llvm/Config/llvm-config.h"
24- #include " caml/memory.h"
25- #include " caml/fail.h"
26- #include " caml/callback.h"
27- #include " llvm_ocaml.h"
25+ #include < assert.h>
26+ #include < stdlib.h>
27+ #include < string.h>
2828
2929#if OCAML_VERSION < 41200
3030value caml_alloc_some (value v) {
@@ -1547,7 +1547,8 @@ value llvm_set_global_constant(value Flag, value GlobalVar) {
15471547}
15481548
15491549/* llvalue -> llmdkind -> llmetadata -> unit */
1550- value llvm_global_set_metadata (value Value, value MetadataKind, value Metadata) {
1550+ value llvm_global_set_metadata (value Value, value MetadataKind,
1551+ value Metadata) {
15511552 LLVMGlobalSetMetadata (Value_val (Value), (unsigned int )Int_val (MetadataKind),
15521553 Metadata_val (Metadata));
15531554 return Val_unit;
You can’t perform that action at this time.
0 commit comments