diff options
author | Matthias Benkard <mulk@minimulk.mst-plus> | 2008-09-29 11:48:28 +0200 |
---|---|---|
committer | Matthias Benkard <mulk@minimulk.mst-plus> | 2008-09-29 11:48:28 +0200 |
commit | a22ae1f747a03dd8cd0e283dca1929962c9cbcf6 (patch) | |
tree | 4abd7b7c337a8f090562714b035c5d95271d9d5e | |
parent | a91c396ba85243465acb7a073c58b3e3f8136587 (diff) |
LLVM compiler: Disable the freeing of temporary functions for now.
-rw-r--r-- | MLKLLVMCompiler.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm index 8602ddd..377bee5 100644 --- a/MLKLLVMCompiler.mm +++ b/MLKLLVMCompiler.mm @@ -177,7 +177,8 @@ static Constant fn = (id (*)()) execution_engine->getPointerToFunction (function); // Execute. lambdaForm = fn(); - execution_engine->freeMachineCodeForFunction (function); + // FIXME: Free machine code when appropriate. (I.e. now? But this crashes after a LOAD.) + //execution_engine->freeMachineCodeForFunction (function); #else Interpreter *i = Interpreter::create (module_provider); lambdaForm = i->runFunction (function)->PointerVal; |