From 6f78d0db3e577b615b0a3cc79b4a87c0a8b94ef2 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 2 Sep 2008 10:54:52 +0200 Subject: MLKLLVMCompiler#-markVariablesForHeapAllocationInForm: Fix heap allocation flag setting. --- MLKLLVMCompiler.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MLKLLVMCompiler.mm') diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm index 83246c1..89795b1 100644 --- a/MLKLLVMCompiler.mm +++ b/MLKLLVMCompiler.mm @@ -227,8 +227,8 @@ static Constant for (j = 0; j < [freeVariables count]; j++) { id variable = [freeVariables objectAtIndex:j]; - [variable setVariableHeapAllocation:YES - forSymbol:variable]; + [[form context] setVariableHeapAllocation:YES + forSymbol:variable]; } } } -- cgit v1.2.3