;;;;
;;;; We don't need to save the BSP, because that is handled automatically.
-;;; Return a list of TNs that can be used to snapshot the dynamic
-;;; state for use with the SAVE- and RESTORE-DYNAMIC-ENVIRONMENT VOPs.
-(!def-vm-support-routine make-dynamic-state-tns ()
- (make-n-tns 3 *backend-t-primitive-type*))
-
(define-vop (save-dynamic-state)
(:results (catch :scs (descriptor-reg))
- (eval :scs (descriptor-reg))
(alien-stack :scs (descriptor-reg)))
(:generator 13
(load-symbol-value catch *current-catch-block*)
(define-vop (restore-dynamic-state)
(:args (catch :scs (descriptor-reg))
- (eval :scs (descriptor-reg))
(alien-stack :scs (descriptor-reg)))
(:generator 10
(store-symbol-value catch *current-catch-block*)