diff options
author | Andy Wingo <wingo@pobox.com> | 2023-11-17 08:48:33 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2023-11-17 08:48:33 +0100 |
commit | 49aa0940bcd1f77819326e73aaee44f5f359d830 (patch) | |
tree | ddbdbfb4a1f33b7f3ff8fef8108046dc162afe0f /module/language/cps/compile-bytecode.scm | |
parent | c2a9380a42ed2b2fdcfe641dc912b389f65f8db5 (diff) | |
download | guile-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