summaryrefslogtreecommitdiff
path: root/module/language/cps/compile-bytecode.scm
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2023-11-17 08:48:33 +0100
committerAndy Wingo <wingo@pobox.com>2023-11-17 08:48:33 +0100
commit49aa0940bcd1f77819326e73aaee44f5f359d830 (patch)
treeddbdbfb4a1f33b7f3ff8fef8108046dc162afe0f /module/language/cps/compile-bytecode.scm
parentc2a9380a42ed2b2fdcfe641dc912b389f65f8db5 (diff)
downloadguile-49aa0940bcd1f77819326e73aaee44f5f359d830.tar.gz
Add CPS primcall for symbol-hash
* module/language/cps/effects-analysis.scm: symbol-hash is effect-free. * module/language/cps/guile-vm/lower-primcalls.scm (symbol-hash): Lower to word-ref/immediate. * module/language/cps/switch.scm (optimize-branch-chain): Emit symbol-hash instead of word-ref/immediate. * module/language/cps/types.scm (symbol-hash): Infer result.
Diffstat (limited to 'module/language/cps/compile-bytecode.scm')
0 files changed, 0 insertions, 0 deletions