diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-07 09:19:24 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-07 09:19:24 -0700 |
commit | d37a97e912b8711e3c0c824b27b01f6bec456221 (patch) | |
tree | 1068e04ba3e3db403b4248bb350a0fc321224363 /lisplib.c | |
parent | 9fb7a82acb99ae9f682c59a67c4fc29d413fac53 (diff) | |
download | txr-d37a97e912b8711e3c0c824b27b01f6bec456221.tar.gz txr-d37a97e912b8711e3c0c824b27b01f6bec456221.tar.bz2 txr-d37a97e912b8711e3c0c824b27b01f6bec456221.zip |
asm: support disassembly on functions.
* share/txr/stdlib/asm.tl (disassemble): Drop usr: prefix
since symbol is interned already in usr package.
Handle vm functions by obtaining their vm desc and entry
point. Disassemble whole desc, then indicate entry point.
The fallback case tries the object as a potential function
name and recurses, so (disassemble '(meth struct slot))
and (disassemble 'name) will work.
Diffstat (limited to 'lisplib.c')
0 files changed, 0 insertions, 0 deletions