summaryrefslogtreecommitdiff
path: root/MLKLLVMCompiler.mm
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-09-02 10:54:52 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-09-02 10:54:52 +0200
commit6f78d0db3e577b615b0a3cc79b4a87c0a8b94ef2 (patch)
tree12875cff10f021c58ec1ae2760102ba22387f00a /MLKLLVMCompiler.mm
parent1e1bbbf51144d68dcef7d1abf8dab0f3ade3fb1a (diff)
MLKLLVMCompiler#-markVariablesForHeapAllocationInForm: Fix heap allocation flag setting.
Diffstat (limited to 'MLKLLVMCompiler.mm')
-rw-r--r--MLKLLVMCompiler.mm4
1 files changed, 2 insertions, 2 deletions
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];
}
}
}