chiark / gitweb /
Disabled debugging code
authorespen <espen>
Mon, 6 Feb 2006 12:48:40 +0000 (12:48 +0000)
committerespen <espen>
Mon, 6 Feb 2006 12:48:40 +0000 (12:48 +0000)
glib/proxy.lisp

index ff08b84900ce8df8736615ee638c49253a0b8e1a..a415dcac49bfc0909c6955b06be0e026bb846a20 100644 (file)
@@ -20,7 +20,7 @@
 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-;; $Id: proxy.lisp,v 1.26 2006-02-06 11:52:24 espen Exp $
+;; $Id: proxy.lisp,v 1.27 2006-02-06 12:48:40 espen Exp $
 
 (in-package "GLIB")
 
@@ -515,6 +515,8 @@ (defun ensure-proxy-instance (class location &rest initargs)
 MAKE-PROXY-INSTANCE is called to create one."
   (unless (null-pointer-p location)
     (or 
+     #-debug-ref-counting(find-cached-instance location)
+     #+debug-ref-counting
      (let ((instance (find-cached-instance location)))
        (when instance
         (format t "Object found in cache: ~A~%" instance)