[movitz-cvs] CVS update: movitz/losp/muerte/inspect.lisp
Frode Vatvedt Fjeld
ffjeld at common-lisp.net
Tue Sep 21 13:05:56 UTC 2004
Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv16871
Modified Files:
inspect.lisp
Log Message:
Re-worked the atomically protocol. There is now one run-time-context
field, atomically-continuation, whose semantics is slightly different
from the old atomically-status and atomically-esp.
Date: Tue Sep 21 15:05:56 2004
Author: ffjeld
Index: movitz/losp/muerte/inspect.lisp
diff -u movitz/losp/muerte/inspect.lisp:1.38 movitz/losp/muerte/inspect.lisp:1.39
--- movitz/losp/muerte/inspect.lisp:1.38 Wed Sep 15 12:25:47 2004
+++ movitz/losp/muerte/inspect.lisp Tue Sep 21 15:05:55 2004
@@ -10,7 +10,7 @@
;;;; Author: Frode Vatvedt Fjeld <frodef at acm.org>
;;;; Created at: Fri Oct 24 09:50:41 2003
;;;;
-;;;; $Id: inspect.lisp,v 1.38 2004/09/15 10:25:47 ffjeld Exp $
+;;;; $Id: inspect.lisp,v 1.39 2004/09/21 13:05:55 ffjeld Exp $
;;;;
;;;;------------------------------------------------------------------
@@ -237,6 +237,10 @@
(defun objects-equalp (x y)
"Basically, this verifies whether x is a shallow-copy of y, or vice versa."
+ (assert (not (with-inline-assembly (:returns :boolean-zf=1)
+ (:load-lexical (:lexical-binding x) :eax)
+ (:cmpl #x13 :eax)))
+ (x) "Checking illegal ~S for object-equalp." x)
(or (eql x y)
(cond
((not (objects-equalp (class-of x) (class-of y)))
More information about the Movitz-cvs
mailing list