summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <mulk@minimulk.mst-plus>2008-09-29 09:36:55 +0200
committerMatthias Benkard <mulk@minimulk.mst-plus>2008-09-29 09:36:55 +0200
commit8d44d97a06275480e43e17a625f596870b9b9da2 (patch)
tree840416cbf7e36f9d4030fb5e1c2ceb6dbeda93ba
parent45e00ec3f4dd6289cd14021ef1ee35568b4928c6 (diff)
LLVM compiler: Fix dynamic variable lookup.
-rw-r--r--MLKLLVMCompiler.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MLKLLVMCompiler.mm b/MLKLLVMCompiler.mm
index ae9773b..ba77ae6 100644
--- a/MLKLLVMCompiler.mm
+++ b/MLKLLVMCompiler.mm
@@ -485,7 +485,7 @@ static Constant
if (![_context variableIsLexical:_form])
{
//[_compiler insertTrace:@"Dynamic."];
- Value *mlkdynamiccontext = [_compiler insertClassLookup:@"MLKCons"];
+ Value *mlkdynamiccontext = [_compiler insertClassLookup:@"MLKDynamicContext"];
Value *dynctx = [_compiler insertMethodCall:@"currentContext"
onObject:mlkdynamiccontext];
@@ -922,7 +922,7 @@ static Constant
value = [valueForm processForLLVM];
if (![_context variableIsLexical:variable])
{
- Value *mlkdynamiccontext = [_compiler insertClassLookup:@"MLKCons"];
+ Value *mlkdynamiccontext = [_compiler insertClassLookup:@"MLKDynamicContext"];
Value *dynctx = [_compiler insertMethodCall:@"currentContext"
onObject:mlkdynamiccontext];