From ae6e74608bfb068a431ba397f4b69cabc31d06e2 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Fri, 15 Aug 2008 23:21:41 +0200 Subject: LLVM compiler: Add trace messages to compiled code. --- MLKLLVMCompiler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MLKLLVMCompiler.h') diff --git a/MLKLLVMCompiler.h b/MLKLLVMCompiler.h index 7a38679..0fbf51e 100644 --- a/MLKLLVMCompiler.h +++ b/MLKLLVMCompiler.h @@ -61,6 +61,8 @@ using namespace llvm; withName:(NSString *)name; +(Value *) insertClassLookup:(NSString *)className; + ++(void) insertTrace:(NSString *)message; #endif @end -- cgit v1.2.3 From 2aebd102c5cd0d18858495da77d5287666995f36 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 16 Aug 2008 15:24:29 +0200 Subject: MLKLLVMCompiler: Directly build argument lists without first constructing an array. --- MLKLLVMCompiler.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'MLKLLVMCompiler.h') diff --git a/MLKLLVMCompiler.h b/MLKLLVMCompiler.h index 0fbf51e..379d791 100644 --- a/MLKLLVMCompiler.h +++ b/MLKLLVMCompiler.h @@ -53,6 +53,14 @@ using namespace llvm; onObject:(Value *)object withArgumentVector:(std::vector *)argv name:(NSString *)name; ++(Value *) insertMethodCall:(NSString *)messageName + onObject:(Value *)object + withArgumentVector:(std::vector *)argv + name:(NSString *)name + returnType:(const Type *)returnType; ++(Value *) insertVoidMethodCall:(NSString *)messageName + onObject:(Value *)object + withArgumentVector:(std::vector *)argv; +(Value *) insertMethodCall:(NSString *)messageName onObject:(Value *)object; -- cgit v1.2.3