Add explicit nopcodes
authorAndy Wingo <wingo@pobox.com>
Thu, 21 Nov 2013 21:51:38 +0000 (22:51 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 21 Nov 2013 21:51:38 +0000 (22:51 +0100)
commitd86682ba2c555961eb14bed7ae3227c855158d55
treeb1b46bd04d68ea3eab87bb49a001ebf69aea37e2
parentdd1c7decccd35dc37950310b403b8e45a658fea4
Add explicit nopcodes

* libguile/vm-engine.c (VM_NAME): Add explicit nopcodes, later to be
  interspersed with others.  This will allow us some extensibility
  without always shuffling around opcodes.  Also avoid lazy
  initialization; have the linker do it for us.

* libguile/instructions.c (parse_instruction):
  (scm_instruction_list): Rework instruction parsing to avoid using
  malloc.  It would seem that this would fix some GC issue -- but who
  knows!
libguile/instructions.c
libguile/vm-engine.c