summaryrefslogtreecommitdiff
path: root/MLKLLVMCompiler.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MLKLLVMCompiler.mm')
-rw-r--r--MLKLLVMCompiler.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm
index cf7cf29..aa0ab79 100644
--- a/MLKLLVMCompiler.mm
+++ b/MLKLLVMCompiler.mm
@@ -770,7 +770,7 @@ static Constant
onObject:dynctx
withArgumentVector:&args];
}
- if ([_context variableHeapAllocationForSymbol:variable])
+ else if ([_context variableHeapAllocationForSymbol:variable])
{
Value *binding = builder.CreateLoad (builder.Insert ([_context
bindingCellValueForSymbol:variable]));