wire through the existing vm ops for variable-ref and variable-set!
authorAndy Wingo <wingo@pobox.com>
Mon, 30 Nov 2009 21:16:59 +0000 (22:16 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 1 Dec 2009 20:00:26 +0000 (21:00 +0100)
commit1d30393fbfac4b80dc9f3a5c8289ba4b55b345bb
tree1ab6aaa155010af4c7d01ba22b37fa0a13cf81c5
parent156d6fa1b5f44d9af0c0e5f6ba9275f4b450c19e
wire through the existing vm ops for variable-ref and variable-set!

* module/language/tree-il/compile-glil.scm (*primcall-ops*): Compile
  variable-ref and variable-set instructions specially.

* module/language/tree-il/primitives.scm
  (*interesting-primitive-names*): Add cases for variable-ref and
  variable-set!. The latter is a little tricky, because the args are
  switched for the VM op, and we can't really change that easily.
module/language/tree-il/compile-glil.scm
module/language/tree-il/primitives.scm