#| -*-Scheme-*-
-$Id: midend.scm,v 1.19 1995/09/05 21:45:17 adams Exp $
+$Id: midend.scm,v 1.20 1996/03/08 17:19:00 adams Exp $
Copyright (c) 1994 Massachusetts Institute of Technology
;;;; Phase structure
-(define *phases-to-show* '())
(define *phases-to-omit* '())
(define *debugging?* true)
(define *current-phase-input* false)
(define (show? phase)
(and phase
- (let ((switch *phases-to-show*))
+ (let ((switch compiler:generate-kmp-files?))
(or (eq? switch 'ALL)
- (memq phase switch)))))
+ (and (pair? switch)
+ (memq phase switch))))))
(define (run-phase program)
(if (memq this-phase *phases-to-omit*)
(set! compiler:generate-rtl-files? #F)
(set! compiler:generate-lap-files? #F))
(else
- (set! *phases-to-show* what))))
+ (set! compiler:generate-kmp-files? what))))