[OCaml] Unbreak Llvm_target.TargetMachine.set_verbose_asm
[oota-llvm.git] / bindings / ocaml / target / target_ocaml.c
index 9e8778aa61a6c06f903bfc57739d0c9830c756af..74e8185827145cd8046d5cb99167c6142e589c84 100644 (file)
@@ -352,8 +352,8 @@ CAMLprim value llvm_targetmachine_data_layout(value Machine) {
   CAMLreturn(DataLayout);
 }
 
-/* TargetMachine.t -> bool -> unit */
-CAMLprim value llvm_targetmachine_set_verbose_asm(value Machine, value Verb) {
+/* bool -> TargetMachine.t -> unit */
+CAMLprim value llvm_targetmachine_set_verbose_asm(value Verb, value Machine) {
   LLVMSetTargetMachineAsmVerbosity(TargetMachine_val(Machine), Bool_val(Verb));
   return Val_unit;
 }