diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-09-02 19:33:46 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-09-02 19:33:46 +0200 |
commit | 76292caba5ad0f7b998bf266e61d43bd898e8c6b (patch) | |
tree | ef01d6652cff2a244f2fdfc57e162d819ef25d29 | |
parent | bae17bbe092e519864ee70894d67fb44ef1e18cb (diff) |
MLKLLVMCompiler#-markVariablesForHeapAllocationInForm:: Fix lexical-context-related lossage.
-rw-r--r-- | MLKLLVMCompiler.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm index 8f52b59..60753e5 100644 --- a/MLKLLVMCompiler.mm +++ b/MLKLLVMCompiler.mm @@ -228,8 +228,8 @@ static Constant for (j = 0; j < [freeVariables count]; j++) { id variable = [freeVariables objectAtIndex:j]; - [[form context] setVariableHeapAllocation:YES - forSymbol:variable]; + [[subform context] setVariableHeapAllocation:YES + forSymbol:variable]; } } } |