diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-23 18:19:32 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-23 18:19:32 +0200 |
commit | 6f71f22d665d7d629fd34f8ec3ba21ef84dda31a (patch) | |
tree | 4cd5a42567e78030ae6f0e31de1dc7be4ff87ede /MLKLLVMCompiler.mm | |
parent | ad05662ae05336aa5db20f9d34d5c1d5bba9d6c2 (diff) |
Factor the LLVM compiler out into its own library.
Diffstat (limited to 'MLKLLVMCompiler.mm')
-rw-r--r-- | MLKLLVMCompiler.mm | 5 |
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 |