fix @slot-ref / @slot-set! compilation
authorAndy Wingo <wingo@pobox.com>
Wed, 20 May 2009 11:59:42 +0000 (13:59 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 20 May 2009 11:59:42 +0000 (13:59 +0200)
commitad9b8c451b82f74cf88c5a6207ed3ea72c86f93e
tree092ae4f3646be48bb2da8282a0a336cb3dd6ef3e
parentc11f46afe113f50e34af33ad3055b3da66e4b71f
fix @slot-ref / @slot-set! compilation

* module/language/tree-il/compile-glil.scm: Add primcall compilers for
  @slot-ref and @slot-set.

* module/language/tree-il/optimize.scm (add-interesting-primitive!): New
  export. Creates an association between a variable in the current module
  and a primitive name.

* module/oop/goops.scm: Rework compiler hooks to work with tree-il and
  not ghil.
module/language/tree-il/compile-glil.scm
module/language/tree-il/optimize.scm
module/oop/goops.scm