sync registers before calling c functions, really
authorAndy Wingo <wingo@pobox.com>
Tue, 5 Aug 2008 22:13:31 +0000 (00:13 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 5 Aug 2008 22:13:31 +0000 (00:13 +0200)
commit1865ad56804be4da82a6247a868a81648ebe87b3
tree7706d30765423a7d38d945b2fd3f9a5e7aa43301
parent6287726adc8cb0f667657e2af757c95c072023e4
sync registers before calling c functions, really

* src/vm_loader.c:
* src/vm_scheme.c: Use SYNC_REGISTER, although it's the same as
  SYNC_BEFORE_GC. A style issue?

* src/vm_system.c (call, tail-call): Explicitly do a SYNC_REGISTER, not
  relying on POP_LIST to do it for us, because POP_LIST won't do it if
  there are 0 arguments. The way that this manifested itself to me was
  badness after the second (read) call in a repl session. I wish I
  understood more about this problem.
src/vm_loader.c
src/vm_scheme.c
src/vm_system.c