summaryrefslogtreecommitdiff
path: root/MLKLLVMCompiler.mm
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-23 18:19:32 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-23 18:19:32 +0200
commit6f71f22d665d7d629fd34f8ec3ba21ef84dda31a (patch)
tree4cd5a42567e78030ae6f0e31de1dc7be4ff87ede /MLKLLVMCompiler.mm
parentad05662ae05336aa5db20f9d34d5c1d5bba9d6c2 (diff)
Factor the LLVM compiler out into its own library.
Diffstat (limited to 'MLKLLVMCompiler.mm')
-rw-r--r--MLKLLVMCompiler.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm
index 4b63a89..53e0481 100644
--- a/MLKLLVMCompiler.mm
+++ b/MLKLLVMCompiler.mm
@@ -83,6 +83,11 @@ static Constant
MLKDefaultCompiler = self;
MLKLoadCompilesP = YES;
}
+
+ // GNU ld optimises the MLKLLVMCompilation category on
+ // MLKLexicalContext away unless we do this. Man, the crappiness of
+ // this Unix stuff is amazing...
+ MLKDummyUseLLVMLexicalContext = nil;
}
+(void) initialize