remove code-table slot from methods
authorAndy Wingo <wingo@pobox.com>
Thu, 5 Nov 2009 11:54:41 +0000 (12:54 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 25 Nov 2009 23:25:06 +0000 (00:25 +0100)
commitc40944c9ff4f22ccae7c54628bf0057d9a0032f2
tree706849ca922e7f5a2a84aef4baa520d5b41d6cb4
parent6d33e90f0ccf96f5a9f6403768daf24f84481046
remove code-table slot from methods

* libguile/goops.c (scm_sys_invalidate_method_cache_x, scm_make)
  (create_standard_classes): Remove code-table slot from methods. The
  generic cache completely does its job, afaict.

* libguile/goops.h (scm_si_formals, scm_si_body, scm_si_make_procedure):
  Renumber slots.

* module/oop/goops.scm (initialize on <method>): No more code-table
  slot.

* module/oop/goops/compile.scm: Always "compile" a method, instead of
  looking for a hit in an always-empty cache.
libguile/goops.c
libguile/goops.h
module/oop/goops.scm
module/oop/goops/compile.scm