File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ compile-expr-direct := λ(: ctx FContext)(: term AST)(: stack-offset I64)(: used
2525 (set e (compile-expr( ctx t stack-offset Used )))
2626 ) )
2727 ( (TGround( 'Array_s (LCons( TAny (LCons( inner-tt LEOF )) )) )) (
28- (let fterm (.lookup( var-to-def-index o-t ASTEOF ) ))
28+ (let fterm (var-to-def o-t))
2929 (set e (std-c-compile-call( ctx 'open_s fterm t )))
3030 ))
3131 ( (TGround( 'Array_s (LCons( array-length (LCons( inner-tt LEOF )) )) )) (
3232 (set e (compile-expr( ctx t stack-offset Used )))
3333 ))
3434 ))
3535 ) (
36- (let fterm (.lookup( var-to-def-index o-t ASTEOF ) ))
36+ (let fterm (var-to-def o-t))
3737 (set e (std-c-compile-call( ctx 'open_s fterm t )))
3838 ))
3939 ))
@@ -184,7 +184,7 @@ compile-expr-direct := λ(: ctx FContext)(: term AST)(: stack-offset I64)(: used
184184 (match f (
185185 ()
186186 ( (Var( fname _ )) (
187- (let fterm (.lookup( var-to-def-index f ASTEOF ) ))
187+ (let fterm (var-to-def f ))
188188 (set e (std-c-compile-call( ctx fname fterm a )))
189189 ))
190190 ( (Lit( fname _ )) (
You can’t perform that action at this time.
0 commit comments