1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-15 18:20:42 +02:00
guile/oop/goops
Andy Wingo 05b37c17ff fix up some assumptions that cmethods were lists
* libguile/eval.i.c (type_dispatch, apply_vm_cmethod)
  (apply_memoized_cmethod): Tweak the nastiness a bit more so as to deal
  with the '(no-method) empty entries. I would like to stop the search if
  the cdr isn't a pair, but currently with the inlined memoized bits, the
  cdr is a pair. The fix would be to make the memoizer return a procedure
  and not the already-inlined bits -- slightly slower but the vm will be
  faster anyway.

* libguile/objects.c (scm_mcache_lookup_cmethod): Same fixes here.

* oop/goops/dispatch.scm (cache-hashval, cache-try-hash!): Allow non-list
  cmethod tails.
2008-10-30 15:50:48 +01:00
..
accessors.scm defmacroize (oop goops accessors), (oop goops save) 2008-10-25 22:58:48 +02:00
active-slot.scm merge from 1.8 branch 2006-04-16 23:37:40 +00:00
compile.scm runtime byte compilation of goops methods, whooooo 2008-10-30 13:42:40 +01:00
composite-slot.scm merge from 1.8 branch 2006-04-16 23:37:40 +00:00
describe.scm Provide describe' feature in (oop goops describe)'. 2008-03-12 17:00:07 +00:00
dispatch.scm fix up some assumptions that cmethods were lists 2008-10-30 15:50:48 +01:00
internal.scm Changes from arch/CVS synchronization 2007-05-05 20:38:57 +00:00
Makefile.am merge from 1.8 branch 2006-04-16 23:37:40 +00:00
old-define-method.scm merge from 1.8 branch 2006-04-16 23:37:40 +00:00
save.scm defmacroize (oop goops accessors), (oop goops save) 2008-10-25 22:58:48 +02:00
simple.scm merge from 1.8 branch 2006-04-16 23:37:40 +00:00
stklos.scm merge from 1.8 branch 2006-04-16 23:37:40 +00:00
util.scm Use SRFI-1 in `(oop goops util)'. 2008-03-18 09:10:45 +00:00