static-patch! replaces link-procedure!
authorAndy Wingo <wingo@pobox.com>
Thu, 31 Oct 2013 08:44:59 +0000 (09:44 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 31 Oct 2013 08:47:48 +0000 (09:47 +0100)
commit2ab2a10d508b521d4a1909fdd362811418f1aba4
tree4ba038124da43e878d8ec5f791742c38e5062025
parent11eff826853a34bf0de205f13519659d4926d22c
static-patch! replaces link-procedure!

* libguile/vm-engine.c (static-patch!): Replace link-procedure! with
  this more versatile primitive.
* module/system/vm/assembler.scm (intern-constant): Emit static-patch!
  for static procedures and for strings.
* module/system/vm/disassembler.scm (code-annotation): Remove annotation
  for link-procedure!.  There can be no annotation for static-patch!, as
  neither operand is guaranteed to be a SCM value.
libguile/vm-engine.c
module/system/vm/assembler.scm
module/system/vm/disassembler.scm