From 3c786f910f73de547bdb2f853745b21097119598 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 2 Sep 2008 20:14:24 +0200 Subject: MLKLexicalContext#-globalContext: Treat unknown variables as global. --- MLKLexicalContext-MLKLLVMCompilation.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MLKLexicalContext-MLKLLVMCompilation.mm') 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 -- cgit v1.2.3