summaryrefslogtreecommitdiff
path: root/MLKLLVMCompiler.mm
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-18 01:20:58 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-18 01:22:10 +0200
commit60993a5e474244a3f4f623bb81d5191f2ec50993 (patch)
treedf9dda17e273aa206e7452d9eaf7e6a915ffd5d6 /MLKLLVMCompiler.mm
parentbdfe4801295945b92f84b8c03cb2e0be485ae4f0 (diff)
LLVM compiler: Disable debugging messages.
Diffstat (limited to 'MLKLLVMCompiler.mm')
-rw-r--r--MLKLLVMCompiler.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm
index ae0c083..a7efa12 100644
--- a/MLKLLVMCompiler.mm
+++ b/MLKLLVMCompiler.mm
@@ -135,15 +135,15 @@ static Constant
// JIT-compile.
fn = (id (*)()) execution_engine->getPointerToFunction (function);
//module->dump();
- NSLog (@"%p", fn);
+ //NSLog (@"%p", fn);
[pool release];
- NSLog (@"Code compiled.");
+ //NSLog (@"Code compiled.");
// Execute.
lambdaForm = fn();
- NSLog (@"Closure built.");
+ //NSLog (@"Closure built.");
return lambdaForm;
}
@@ -586,7 +586,7 @@ static Constant
builder.CreateRet (value);
- function->dump();
+ //function->dump();
//NSLog (@"Verify...");
verifyFunction (*function);
//NSLog (@"Optimise...");
@@ -596,7 +596,7 @@ static Constant
// the function.
execution_engine->getPointerToFunction (function);
//NSLog (@"Done.");
- function->dump();
+ //function->dump();
//NSLog (@"Function built.");
builder.SetInsertPoint (outerBlock);