From 76292caba5ad0f7b998bf266e61d43bd898e8c6b Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 2 Sep 2008 19:33:46 +0200 Subject: MLKLLVMCompiler#-markVariablesForHeapAllocationInForm:: Fix lexical-context-related lossage. --- MLKLLVMCompiler.mm | 4 ++-- 1 file 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]; } } } -- cgit v1.2.3