summaryrefslogtreecommitdiffstats
path: root/jmp.S
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-19 06:45:54 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-19 06:45:54 -0700
commit85489502f64def96741c1fa43e92b7695c27ba92 (patch)
treef93a29a2f9ea05479a234e2a70b9d485a4e7971e /jmp.S
parent3f54a728718552801b5c786dc38d6540cfa360ab (diff)
downloadtxr-85489502f64def96741c1fa43e92b7695c27ba92.tar.gz
txr-85489502f64def96741c1fa43e92b7695c27ba92.tar.bz2
txr-85489502f64def96741c1fa43e92b7695c27ba92.zip
compiler: use VM's function table for global calls.
* share/txr/stdlib/compiler.tl (compiler): New slots fidx-cntr, fidx and ftab. (compiler get-fidx, compiler get-funvec): New methods. (compiler comp-call-impl): New method. (compiler comp-call): Look up the symbol to determine whether the function lexical or global. Call comp-call-impl appropriately to generate a gcall or call. (usr:compile-toplevel): Obtain the funvec from the compiler and pass to vm-make-desc.
Diffstat (limited to 'jmp.S')
0 files changed, 0 insertions, 0 deletions