diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-12 14:29:38 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-12 14:29:38 +0200 |
commit | 881d4f5cf7e85b87ed0f3bd55fd1542a7ca743f4 (patch) | |
tree | e9e05269914510bee3bf708917c5fa980e383ac8 /MLKLLVMCompiler.h | |
parent | dfe50b2e72ddbd0148870748975f00e7fc662314 (diff) |
LLVM compiler: Insert value names into the assembly code.
Diffstat (limited to 'MLKLLVMCompiler.h')
-rw-r--r-- | MLKLLVMCompiler.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/MLKLLVMCompiler.h b/MLKLLVMCompiler.h index a57a33f..4f167bb 100644 --- a/MLKLLVMCompiler.h +++ b/MLKLLVMCompiler.h @@ -24,6 +24,7 @@ #import <Foundation/NSString.h> #ifdef __cplusplus +#include <vector> #include <llvm/Value.h> #include <llvm/BasicBlock.h> 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<Value*> *)argv; ++(Value *) insertMethodCall:(NSString *)messageName + onObject:(Value *)object + withArgumentVector:(std::vector<Value*> *)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 |