Eliminate no-longer-used binding genrated by define-structure.
authorChris Hanson <org/chris-hanson/cph>
Tue, 26 Dec 2017 04:54:30 +0000 (23:54 -0500)
committerChris Hanson <org/chris-hanson/cph>
Tue, 26 Dec 2017 04:54:30 +0000 (23:54 -0500)
src/runtime/defstr.scm

index 73f590e281065710b582c73960b84b5a89cebd8c..ebb2f0237d52a944949f9b7ea6d7d08a5d394546 100644 (file)
@@ -782,13 +782,9 @@ differences:
                (close (structure/tag-expression structure) context)))
          (case (structure/physical-type structure)
            ((RECORD)
-            (let ((tag-name (make-synthetic-identifier 'TAG)))
-              `((DEFINE ,tag-name
-                  (,(absolute 'RECORD-TYPE-DISPATCH-TAG context)
-                   ,tag-expression))
-                (DEFINE ,predicate-name
-                  (,(absolute 'RECORD-PREDICATE context)
-                   ,(close (structure/type-descriptor structure) context))))))
+            `((DEFINE ,predicate-name
+                (,(absolute 'RECORD-PREDICATE context)
+                 ,(close (structure/type-descriptor structure) context)))))
            ((VECTOR)
             `((DEFINE (,predicate-name OBJECT)
                 (AND (,(absolute 'VECTOR? context) OBJECT)