summaryrefslogtreecommitdiff
path: root/module/language/assembly/compile-bytecode.scm
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-03-03 21:46:38 +0100
committerAndy Wingo <wingo@pobox.com>2012-03-03 21:46:38 +0100
commitd5dbe0c1d5c0d53a652285ca565fa6c30a668f7f (patch)
tree6622edaaaa1003997122f1db7b54cf8b8ff8e648 /module/language/assembly/compile-bytecode.scm
parentdeaae8e9d7cbd0f8fc794fab5f4b4923d432ced0 (diff)
downloadguile-d5dbe0c1d5c0d53a652285ca565fa6c30a668f7f.tar.gz
optimize dynamic-wind when we know winders are thunks
* libguile/vm-i-system.c (wind): * module/language/tree-il/compile-glil.scm (flatten-lambda-case): Instead of making `wind' call `scm_thunk_p' on the winder and unwinder at runtime, make it the responsibility of the compiler to emit code to call thunk? and error, but only if the compiler cannot prove them to be thunks. * libguile/vm-engine.c (vm_engine): Remove a now-unused error block.
Diffstat (limited to 'module/language/assembly/compile-bytecode.scm')
0 files changed, 0 insertions, 0 deletions