diff options
author | Andy Wingo <wingo@pobox.com> | 2008-10-31 18:30:27 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2008-10-31 18:30:27 +0100 |
commit | 5192c9e89bc18e5f6b33741aceed66bf28d56823 (patch) | |
tree | 310910af43efadefca671bbadeb4f76144679a1e /module/ice-9/debugging/load-hooks.scm | |
parent | 1e4b834ab1821f272359e03712044a4793c5d529 (diff) | |
download | guile-5192c9e89bc18e5f6b33741aceed66bf28d56823.tar.gz |
compile goops accessors. woot!
* oop/goops.scm: Define compiler hooks for dealing with @slot-ref and
@slot-set!.
(make-bound-check-get, make-get, make-set): Compile these indexed
accessors instead of having them be closures. Probably slower for the
memoizer, but faster for the vm... not sure what the perfect solution
is.
* test-suite/tests/goops.test ("defining classes"): Add a test that
defining a class with accessors works (it didn't until I figured out
that (@ (system base compile) compile) thing).
Diffstat (limited to 'module/ice-9/debugging/load-hooks.scm')
0 files changed, 0 insertions, 0 deletions