From 1e1bbbf51144d68dcef7d1abf8dab0f3ade3fb1a Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 2 Sep 2008 10:22:24 +0200 Subject: LLVM compiler: Access closure variables through the closure data pointer. --- MLKLexicalContext-MLKLLVMCompilation.h | 1 + 1 file changed, 1 insertion(+) (limited to 'MLKLexicalContext-MLKLLVMCompilation.h') diff --git a/MLKLexicalContext-MLKLLVMCompilation.h b/MLKLexicalContext-MLKLLVMCompilation.h index b6fdf9d..3effb63 100644 --- a/MLKLexicalContext-MLKLLVMCompilation.h +++ b/MLKLexicalContext-MLKLLVMCompilation.h @@ -40,6 +40,7 @@ extern id MLKDummyUseLLVMLexicalContext; -(Instruction *) functionCellValueForSymbol:(id)name; -(Instruction *) closureDataPointerValueForSymbol:(id)name; -(Value *) bindingValueForSymbol:(id)name; +-(void) locallySetBindingValue:(Value *)value forSymbol:(id)name; -(void) setBindingValue:(Value *)value forSymbol:(id)name; -(Instruction *) globalBindingValueForSymbol:(id)name; -(Value *) valueValueForSymbol:(id)name; -- cgit v1.2.3