(define cfg-node-tag (make-vector-tag #f 'CFG-NODE #f))
(define cfg-node? (tagged-vector/subclass-predicate cfg-node-tag))
-(define-vector-slots node 1 generation alist previous-edges)
+(define-vector-slots node 1 generation subgraph-color alist previous-edges)
(set-vector-tag-description!
cfg-node-tag
(lambda (node)
- (descriptor-list node node generation alist previous-edges)))
+ (descriptor-list node node generation subgraph-color alist previous-edges)))
(define snode-tag (make-vector-tag cfg-node-tag 'SNODE #f))
(define snode? (tagged-vector/subclass-predicate snode-tag))
-(define-vector-slots snode 4 next-edge)
+(define-vector-slots snode 5 next-edge)
;;; converted to a macro.
;;; (define (make-snode tag . extra)
-;;; (list->vector (cons* tag #f '() '() #f extra)))
+;;; (list->vector (cons* tag #f #f '() '() #f extra)))
(set-vector-tag-description!
snode-tag
(define pnode-tag (make-vector-tag cfg-node-tag 'PNODE #f))
(define pnode? (tagged-vector/subclass-predicate pnode-tag))
-(define-vector-slots pnode 4 consequent-edge alternative-edge)
+(define-vector-slots pnode 5 consequent-edge alternative-edge)
;;; converted to a macro.
;;; (define (make-pnode tag . extra)
-;;; (list->vector (cons* tag #f '() '() #f #f extra)))
+;;; (list->vector (cons* tag #f #f '() '() #f #f extra)))
(set-vector-tag-description!
pnode-tag
,@slots))))))))
(ill-formed-syntax form)))))))))))
-(define-type-definition snode 5 #f)
-(define-type-definition pnode 6 #f)
+(define-type-definition snode 6 #f)
+(define-type-definition pnode 7 #f)
(define-type-definition rvalue 2 rvalue-types)
(define-type-definition lvalue 14 #f)
(map (lambda (form) (close-syntax form environment))
(cddr form))))
`((ACCESS VECTOR ,system-global-environment)
- ,tag #F '() '() #F ,@extra))
+ ,tag #F #F '() '() #F ,@extra))
(ill-formed-syntax form)))))
(define-syntax make-pnode
(map (lambda (form) (close-syntax form environment))
(cddr form))))
`((ACCESS VECTOR ,system-global-environment)
- ,tag #F '() '() #F #F ,@extra))
+ ,tag #F #F '() '() #F #F ,@extra))
(ill-formed-syntax form)))))
(define-syntax make-rvalue
(define-snode sblock)
(define-pnode pblock)
-(define-vector-slots bblock 6
+(define-vector-slots bblock 7
instructions
live-at-entry
live-at-exit
label
continuations)
-(define-vector-slots sblock 12
+(define-vector-slots sblock 13
continuation)
(define (make-sblock instructions)
(make-pnode sblock-tag instructions false false false false '() false))
-(define-vector-slots pblock 12
+(define-vector-slots pblock 13
consequent-lap-generator
alternative-lap-generator)