diff options
Diffstat (limited to 'module/language/cps/compile-bytecode.scm')
-rw-r--r-- | module/language/cps/compile-bytecode.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/module/language/cps/compile-bytecode.scm b/module/language/cps/compile-bytecode.scm index 7f4f97709..a2c951dc9 100644 --- a/module/language/cps/compile-bytecode.scm +++ b/module/language/cps/compile-bytecode.scm @@ -195,6 +195,12 @@ (($ $primcall 'lookup-bound #f (mod name)) (emit-lookup-bound asm (from-sp dst) (from-sp (slot mod)) (from-sp (slot name)))) + (($ $primcall 'lookup-bound-public (mod name) ()) + (let ((name (symbol->string name))) + (emit-lookup-bound-public asm (from-sp dst) mod name))) + (($ $primcall 'lookup-bound-private (mod name) ()) + (let ((name (symbol->string name))) + (emit-lookup-bound-private asm (from-sp dst) mod name))) (($ $primcall 'add/immediate y (x)) (emit-add/immediate asm (from-sp dst) (from-sp (slot x)) y)) (($ $primcall 'sub/immediate y (x)) |