From 881d4f5cf7e85b87ed0f3bd55fd1542a7ca743f4 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 12 Aug 2008 14:29:38 +0200 Subject: LLVM compiler: Insert value names into the assembly code. --- MLKLLVMCompiler.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'MLKLLVMCompiler.h') diff --git a/MLKLLVMCompiler.h b/MLKLLVMCompiler.h index a57a33f..4f167bb 100644 --- a/MLKLLVMCompiler.h +++ b/MLKLLVMCompiler.h @@ -24,6 +24,7 @@ #import #ifdef __cplusplus +#include #include #include using namespace llvm; @@ -42,8 +43,23 @@ using namespace llvm; #ifdef __cplusplus +(Value *) processForm:(MLKForm *)form; ++(Value *) insertSelectorLookup:(NSString *)name; + ++(Value *) insertMethodCall:(NSString *)messageName + onObject:(Value *)object + withArgumentVector:(std::vector *)argv; ++(Value *) insertMethodCall:(NSString *)messageName + onObject:(Value *)object + withArgumentVector:(std::vector *)argv + name:(NSString *)name; + +(Value *) insertMethodCall:(NSString *)messageName onObject:(Value *)object; ++(Value *) insertMethodCall:(NSString *)messageName + onObject:(Value *)object + withName:(NSString *)name; + ++(Value *) insertClassLookup:(NSString *)className; #endif @end -- cgit v1.2.3