remove code that manages the method cache
[bpt/guile.git] / module / oop / goops / dispatch.scm
index 9e97b5b..df76800 100644 (file)
       (cache-miss gf args)))
 
 (define (cache-miss gf args)
-  (apply (memoize-method! gf args (slot-ref gf '%cache)) args))
+  (apply (memoize-method! gf args) args))
 
 (define (memoize-effective-method! gf args applicable)
   (define (first-n ls n)
 ;;; Memoization
 ;;;
 
-(define (memoize-method! gf args exp)
+(define (memoize-method! gf args)
   (let ((applicable ((if (eq? gf compute-applicable-methods)
                         %compute-applicable-methods
                         compute-applicable-methods)