Remove debugging.
authorGordon Henriksen <gordonhenriksen@mac.com>
Thu, 27 Sep 2007 02:47:27 +0000 (02:47 +0000)
committerGordon Henriksen <gordonhenriksen@mac.com>
Thu, 27 Sep 2007 02:47:27 +0000 (02:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42385 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/ocaml/llvm/llvm_ocaml.c

index ffa872d..f53ad3c 100644 (file)
@@ -21,8 +21,6 @@
 #include "caml/mlvalues.h"
 #include "caml/memory.h"
 #include "llvm/Config/config.h" 
-#include <stdio.h>
-#include <string.h>
 
 
 /*===-- Modules -----------------------------------------------------------===*/
@@ -477,7 +475,6 @@ CAMLprim value llvm_value_is_block(LLVMValueRef Val) {
 #define Builder_val(v)  (*(LLVMBuilderRef *)(Data_custom_val(v)))
 
 void llvm_finalize_builder(value B) {
-  fprintf(stderr, "disposing builder = 0x%08x\n", (int) Builder_val(B));
   LLVMDisposeBuilder(Builder_val(B));
 }
 
@@ -505,7 +502,6 @@ CAMLprim value llvm_builder_at_end(LLVMBasicBlockRef BB) {
   value V;
   LLVMBuilderRef B = LLVMCreateBuilder();
   LLVMPositionBuilderAtEnd(B, BB);
-  fprintf(stderr, "returning builder = 0x%08x\n", (int) B);
   V = alloc_custom(&builder_ops, sizeof(LLVMBuilderRef), 0, 1);
   Builder_val(V) = B;
   return V;