begin-program takes properties alist
authorAndy Wingo <wingo@pobox.com>
Tue, 14 May 2013 08:25:38 +0000 (10:25 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 9 Jun 2013 21:36:45 +0000 (23:36 +0200)
commit2a4daafd303f9b70d0680a4cadf42ef5c3fcfabc
tree1f634cc80a9302ee7115c840dfde785715022ecd
parent82e299f3864c663c45ddb960112a12b4f17d68c9
begin-program takes properties alist

* module/system/vm/assembler.scm (assert-match): New helper macro to
  check argument types.
  (<meta>): Add properties field.  Rename name field to "label" to
  indicate that it should be unique.
  (make-meta, meta-name): New helpers.
  (begin-program): Take additional properties argument.
  (emit-init-constants): Adapt to begin-program change.
  (link-symtab): Allow for anonymous procedures.

* test-suite/tests/rtl.test: Adapt tests.
module/system/vm/assembler.scm
test-suite/tests/rtl.test