llvm.org GIT mirror llvm / 850b520
[OCaml] Fix a typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194508 91177308-0d34-0410-b5e6-96231b3b80d8 Peter Zotov 7 years ago
1 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
527527 }
528528
529529 /* llvalue -> string */
530 CAMLprim value llvm_string_of_llvalue(LLVMTypeRef M) {
531 char* TypeCStr;
532 TypeCStr = LLVMPrintValueToString(M);
533
534 value TypeStr = caml_copy_string(TypeCStr);
535 LLVMDisposeMessage(TypeCStr);
536
537 return TypeStr;
530 CAMLprim value llvm_string_of_llvalue(LLVMValueRef M) {
531 char* ValueCStr;
532 ValueCStr = LLVMPrintValueToString(M);
533
534 value ValueStr = caml_copy_string(ValueCStr);
535 LLVMDisposeMessage(ValueCStr);
536
537 return ValueStr;
538538 }
539539
540540 /* llvalue -> llvalue -> unit */