mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-28 15:54:00 +00:00
[OCaml] Fix a typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
46456f6a2f
commit
850b520114
@ -528,14 +528,14 @@ CAMLprim value llvm_dump_value(LLVMValueRef Val) {
|
||||
}
|
||||
|
||||
/* llvalue -> string */
|
||||
CAMLprim value llvm_string_of_llvalue(LLVMTypeRef M) {
|
||||
char* TypeCStr;
|
||||
TypeCStr = LLVMPrintValueToString(M);
|
||||
CAMLprim value llvm_string_of_llvalue(LLVMValueRef M) {
|
||||
char* ValueCStr;
|
||||
ValueCStr = LLVMPrintValueToString(M);
|
||||
|
||||
value TypeStr = caml_copy_string(TypeCStr);
|
||||
LLVMDisposeMessage(TypeCStr);
|
||||
value ValueStr = caml_copy_string(ValueCStr);
|
||||
LLVMDisposeMessage(ValueCStr);
|
||||
|
||||
return TypeStr;
|
||||
return ValueStr;
|
||||
}
|
||||
|
||||
/* llvalue -> llvalue -> unit */
|
||||
|
Loading…
x
Reference in New Issue
Block a user