vector-ref and vector-set! now have opcodes
authorAndy Wingo <wingo@pobox.com>
Thu, 25 Jun 2009 22:15:37 +0000 (00:15 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 26 Jun 2009 10:42:10 +0000 (12:42 +0200)
commitd6f1ce3d1627e27c2262cb8da15828d515050fd6
treec7dd0e8272689de99e1b0a7fd1bb49b18a06c7b0
parente6eb2467164de264c313af92d488144d2cdae94c
vector-ref and vector-set! now have opcodes

* module/language/tree-il/primitives.scm
  (*interesting-primitive-names*): Resolve vector-ref and vector-set!.

* module/language/tree-il/compile-glil.scm (*primcall-ops*): And compile
  vector-ref and vector-set! to their opcodes.

* libguile/vm-i-scheme.c (vector-ref, vector-set): New opcodes, placed
  before the bytevector ops. The renumbering shouldn't affect anyone,
  given that the bytevector ops were not yet used. Fix a few bugs in the
  bytevector ops.
libguile/vm-i-scheme.c
module/language/tree-il/compile-glil.scm
module/language/tree-il/primitives.scm