#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/histry.scm,v 14.4 1991/08/06 22:12:23 arthur Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/histry.scm,v 14.5 1991/08/08 19:54:07 jinx Exp $
Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
;;; SET-CURRENT-HISTORY! is run.
(define (with-new-history thunk)
- (with-history-disabled
+ ((ucode-primitive with-history-disabled)
(lambda ()
((ucode-primitive set-current-history!)
(let ((history
;; Otherwise, record a dummy reduction, which will appear
;; in the history.
- (begin (record-evaluation-in-history! history
- false
- system-global-environment)
+ (begin (record-dummy-reduction-in-history! history)
(push-history! history)))))
(thunk))))
(if (marked-reduction? current)
'()
output)))
- (if (dummy-compiler-reduction? current)
+ (if (dummy-reduction? current)
tail
(cons (list (reduction-expression current)
(reduction-environment current))
step
(loop (next-reduction current) step)))))
-(define (dummy-compiler-reduction? reduction)
+(define (dummy-reduction? reduction)
(and (false? (reduction-expression reduction))
(eq? (ucode-return-address pop-from-compiled-code)
- (reduction-environment reduction))))
+ (reduction-environment reduction))))
+
+(define (record-dummy-reduction-in-history! history)
+ (record-evaluation-in-history!
+ history
+ false
+ (ucode-return-address pop-from-compiled-code)))
(define (history-superproblem history)
(if (null? (cdr history))
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.128 1991/08/06 22:14:08 arthur Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.129 1991/08/08 19:54:33 jinx Exp $
Copyright (c) 1988-91 Massachusetts Institute of Technology
'()))
(add-system! microcode-system)
(add-event-receiver! event:after-restore snarf-microcode-version!)
- (add-identification! "Runtime" 14 128))
+ (add-identification! "Runtime" 14 129))
(define microcode-system)