summaryrefslogtreecommitdiff
path: root/MLKLexicalContext-MLKLLVMCompilation.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MLKLexicalContext-MLKLLVMCompilation.mm')
-rw-r--r--MLKLexicalContext-MLKLLVMCompilation.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/MLKLexicalContext-MLKLLVMCompilation.mm b/MLKLexicalContext-MLKLLVMCompilation.mm
index d3a84b3..e670151 100644
--- a/MLKLexicalContext-MLKLLVMCompilation.mm
+++ b/MLKLexicalContext-MLKLLVMCompilation.mm
@@ -50,8 +50,7 @@ id MLKDummyUseLLVMLexicalContext = nil;
if (flag)
return [flag boolValue];
else
- return (![self contextForVariable:name]
- || [self contextForVariable:name] == [MLKLexicalContext globalContext]);
+ return (![self contextForVariable:name] || [self variableIsGlobal:name]);
}
-(Instruction *) functionCellValueForSymbol:(id)name