From a5364817b1cd751832a4634e4afbd67bb668fa2e Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 1 Sep 2008 23:39:42 +0200 Subject: LLVM compiler: Add support for heap allocation of lexical variables. --- MLKLexicalContext-MLKLLVMCompilation.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'MLKLexicalContext-MLKLLVMCompilation.h') diff --git a/MLKLexicalContext-MLKLLVMCompilation.h b/MLKLexicalContext-MLKLLVMCompilation.h index 4f4c849..b6fdf9d 100644 --- a/MLKLexicalContext-MLKLLVMCompilation.h +++ b/MLKLexicalContext-MLKLLVMCompilation.h @@ -39,7 +39,9 @@ extern id MLKDummyUseLLVMLexicalContext; -(BOOL) variableHeapAllocationForSymbol:(id)name; -(Instruction *) functionCellValueForSymbol:(id)name; -(Instruction *) closureDataPointerValueForSymbol:(id)name; --(Instruction *) bindingCellValueForSymbol:(id)name; +-(Value *) bindingValueForSymbol:(id)name; +-(void) setBindingValue:(Value *)value forSymbol:(id)name; +-(Instruction *) globalBindingValueForSymbol:(id)name; -(Value *) valueValueForSymbol:(id)name; //-(void) setFunctionCellValue:(Value *)cellPtr forSymbol:(id)name; //-(void) setClosureDataPointerValue:(Value *)pointer forSymbol:(id)name; -- cgit v1.2.3