[llvm-commits] [llvm] r42385 - /llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c

Gordon Henriksen gordonhenriksen at mac.com
Wed Sep 26 19:47:27 PDT 2007


Author: gordon
Date: Wed Sep 26 21:47:27 2007
New Revision: 42385

URL: http://llvm.org/viewvc/llvm-project?rev=42385&view=rev
Log:
Remove debugging.

Modified:
    llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c

Modified: llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c?rev=42385&r1=42384&r2=42385&view=diff

==============================================================================
--- llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c (original)
+++ llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c Wed Sep 26 21:47:27 2007
@@ -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 @@
 #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 @@
   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;





More information about the llvm-commits mailing list