There is an optimization in toplevel.scm that is broken by continuations.
In short, we break scripts into chunks, to maximize our chances of being able to use the GET_STATIC op instead of GET_DYNAMIC. But now capturing a continuation does not capture the whole rest of the script, a bad bug.
There is an optimization in toplevel.scm that is broken by continuations.
In short, we break scripts into chunks, to maximize our chances of being able to use the
GET_STATIC
op instead ofGET_DYNAMIC
. But now capturing a continuation does not capture the whole rest of the script, a bad bug.