summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MLKLLVMCompiler.mm4
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];
}
}
}