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.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'MLKLexicalContext.h') diff --git a/MLKLexicalContext.h b/MLKLexicalContext.h index 3e703e5..f8b7a14 100644 --- a/MLKLexicalContext.h +++ b/MLKLexicalContext.h @@ -96,12 +96,15 @@ -(BOOL) variableIsGlobal:(id)name; -(BOOL) functionIsInline:(MLKSymbol *)symbol; --(id) deepPropertyForVariable:(id)name key:(id)key; +-(id) propertyForVariable:(id)name key:(id)key; -(void) setDeepProperty:(id)object forVariable:(id)name key:(id)key; +-(void) addShallowProperty:(id)object + forVariable:(id)name + key:(id)key; --(id) deepPropertyForFunction:(id)name key:(id)key; +-(id) propertyForFunction:(id)name key:(id)key; -(void) setDeepProperty:(id)object forFunction:(id)name key:(id)key; -- cgit v1.2.3