summaryrefslogtreecommitdiff
path: root/MLKLexicalContext-MLKLLVMCompilation.mm
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-09-02 20:14:24 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-09-02 20:14:24 +0200
commit3c786f910f73de547bdb2f853745b21097119598 (patch)
tree8f7f46db94853183fd74771fe41062e28bffdec2 /MLKLexicalContext-MLKLLVMCompilation.mm
parent76292caba5ad0f7b998bf266e61d43bd898e8c6b (diff)
MLKLexicalContext#-globalContext: Treat unknown variables as global.
Diffstat (limited to 'MLKLexicalContext-MLKLLVMCompilation.mm')
-rw-r--r--MLKLexicalContext-MLKLLVMCompilation.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLKLexicalContext-MLKLLVMCompilation.mm b/MLKLexicalContext-MLKLLVMCompilation.mm
index 4285d1e..5a279e5 100644
--- a/MLKLexicalContext-MLKLLVMCompilation.mm
+++ b/MLKLexicalContext-MLKLLVMCompilation.mm
@@ -50,7 +50,7 @@ id MLKDummyUseLLVMLexicalContext = nil;
if (flag)
return [flag boolValue];
else
- return (![self contextForVariable:name] || [self variableIsGlobal:name]);
+ return [self variableIsGlobal:name];
}
-(Instruction *) functionCellValueForSymbol:(id)name