vm caches the dynamic state in a local var
authorAndy Wingo <wingo@pobox.com>
Fri, 19 Feb 2010 10:37:42 +0000 (11:37 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 19 Feb 2010 11:10:11 +0000 (12:10 +0100)
commit26e6f99fc3543cd4aa24d2d96126ae025f61ab28
tree9832f0172928b0463ed56eed4133c0b9d3d85b08
parent6e84cb95b18d81ef7a8490cccdfb08d3f88116ea
vm caches the dynamic state in a local var

* libguile/vm-engine.c (vm_engine): Cache the dynamic state in a local
  var when we enter the VM.
* libguile/vm-i-system.c (wind-fluids, unwind-fluids): Use the cached
  dynamic state instead of going through SCM_I_CURRENT_THREAD.
libguile/vm-engine.c
libguile/vm-i-system.c