/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/returns.h,v 9.36 1989/09/20 23:11:10 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/returns.h,v 9.37 1990/01/29 22:31:02 jinx Exp $
Copyright (c) 1987, 1988, 1989 Massachusetts Institute of Technology
/* formerly RC_COMP_CACHE_ASSIGN_RESTART 0x5A */
#define RC_COMP_LINK_CACHES_RESTART 0x5B
#define RC_HARDWARE_TRAP 0x5C
+#define RC_INTERNAL_APPLY_VAL 0x5D
/* When adding return codes, add them to the table below as well! */
-#define MAX_RETURN_CODE 0x5C
+#define MAX_RETURN_CODE 0x5D
\f
#define RETURN_NAME_TABLE \
{ \
/* 0x59 */ "COMPILER_UNASSIGNED_P_TRAP_RESTART", \
/* 0x5A */ "", \
/* 0x5B */ "COMPILER_LINK_CACHES_RESTART", \
-/* 0x5C */ "HARDWARE_TRAP" \
+/* 0x5C */ "HARDWARE_TRAP", \
+/* 0x5D */ "INTERNAL_APPLY_VAL" \
}
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/version.h,v 11.22 1990/01/23 08:35:09 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/version.h,v 11.23 1990/01/29 22:33:32 jinx Exp $
Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
#define VERSION 11
#endif
#ifndef SUBVERSION
-#define SUBVERSION 22
+#define SUBVERSION 23
#endif
#ifndef UCODE_TABLES_FILENAME
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/conpar.scm,v 14.11 1989/12/07 05:35:31 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/conpar.scm,v 14.12 1990/01/29 22:34:18 jinx Exp $
-Copyright (c) 1988, 1989 Massachusetts Institute of Technology
+Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(let ((length (length/application-frame 2 0)))
(standard-subproblem 'COMBINATION-APPLY length)
- (standard-subproblem 'INTERNAL-APPLY length))
+ (standard-subproblem 'INTERNAL-APPLY length)
+ (standard-subproblem 'INTERNAL-APPLY-VAL length))
(standard-subproblem 'COMPILER-LOOKUP-APPLY-RESTART
(length/application-frame 4 1))
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/framex.scm,v 14.9 1989/07/13 18:38:41 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/framex.scm,v 14.10 1990/01/29 22:34:56 jinx Exp $
-Copyright (c) 1988, 1989 Massachusetts Institute of Technology
+Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(,(method/application-frame 3)
INTERNAL-APPLY)
+ (,(method/application-frame 3)
+ INTERNAL-APPLY-VAL)
+
(,(method/application-frame 1)
REPEAT-PRIMITIVE)
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/uerror.scm,v 14.11 1989/12/07 05:06:30 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/uerror.scm,v 14.12 1990/01/29 22:35:09 jinx Exp $
-Copyright (c) 1988, 1989 Massachusetts Institute of Technology
+Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(list (irritant (expression-only-frame/expression frame)))
repl-environment))))
+ (define (define-apply-handler definer)
+ (for-each definer '(INTERNAL-APPLY INTERNAL-APPLY-VAL)))
+
(define (define-internal-apply-handler error-type environment irritant
. operators)
- (define-error-handler error-type 'INTERNAL-APPLY
- (apply internal-apply-frame/operator-filter operators)
- (lambda (condition-type frame)
- (make-error-condition
- condition-type
- (list (internal-apply-frame/select frame irritant))
- (if environment
- (internal-apply-frame/select frame environment)
- repl-environment)))))
+ (define-apply-handler
+ (lambda (return-address)
+ (define-error-handler error-type return-address
+ (apply internal-apply-frame/operator-filter operators)
+ (lambda (condition-type frame)
+ (make-error-condition
+ condition-type
+ (list (internal-apply-frame/select frame irritant))
+ (if environment
+ (internal-apply-frame/select frame environment)
+ repl-environment)))))))
(define (define-operator-handler error-type)
- (define-error-handler error-type 'INTERNAL-APPLY true
- (lambda (condition-type frame)
- (make-error-condition condition-type
- (list (internal-apply-frame/operator frame))
- repl-environment))))
+ (define-apply-handler
+ (lambda (return-address)
+ (define-error-handler error-type return-address true
+ (lambda (condition-type frame)
+ (make-error-condition condition-type
+ (list (internal-apply-frame/operator frame))
+ repl-environment))))))
(define (define-operand-handler error-type irritant #!optional filter)
- (define-error-handler error-type 'INTERNAL-APPLY
- (if (default-object? filter) true filter)
- (lambda (condition-type frame)
- (make-error-condition
- condition-type
- (list (internal-apply-frame/select frame irritant)
- (error-irritant/noise char:newline)
- (error-irritant/noise "within procedure")
- (internal-apply-frame/operator frame))
- repl-environment))))
+ (define-apply-handler
+ (lambda (return-address)
+ (define-error-handler error-type return-address
+ (if (default-object? filter) true filter)
+ (lambda (condition-type frame)
+ (make-error-condition
+ condition-type
+ (list (internal-apply-frame/select frame irritant)
+ (error-irritant/noise char:newline)
+ (error-irritant/noise "within procedure")
+ (internal-apply-frame/operator frame))
+ repl-environment))))))
(define (define-reference-trap-handler error-type frame-type)
(define-error-handler error-type frame-type true
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.72 1990/01/22 23:41:39 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/version.scm,v 14.73 1990/01/29 22:35:32 jinx Exp $
Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
'()))
(add-system! microcode-system)
(add-event-receiver! event:after-restore snarf-microcode-version!)
- (add-identification! "Runtime" 14 72))
+ (add-identification! "Runtime" 14 73))
(define microcode-system)
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/returns.h,v 9.36 1989/09/20 23:11:10 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/returns.h,v 9.37 1990/01/29 22:31:02 jinx Exp $
Copyright (c) 1987, 1988, 1989 Massachusetts Institute of Technology
/* formerly RC_COMP_CACHE_ASSIGN_RESTART 0x5A */
#define RC_COMP_LINK_CACHES_RESTART 0x5B
#define RC_HARDWARE_TRAP 0x5C
+#define RC_INTERNAL_APPLY_VAL 0x5D
/* When adding return codes, add them to the table below as well! */
-#define MAX_RETURN_CODE 0x5C
+#define MAX_RETURN_CODE 0x5D
\f
#define RETURN_NAME_TABLE \
{ \
/* 0x59 */ "COMPILER_UNASSIGNED_P_TRAP_RESTART", \
/* 0x5A */ "", \
/* 0x5B */ "COMPILER_LINK_CACHES_RESTART", \
-/* 0x5C */ "HARDWARE_TRAP" \
+/* 0x5C */ "HARDWARE_TRAP", \
+/* 0x5D */ "INTERNAL_APPLY_VAL" \
}
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/version.h,v 11.22 1990/01/23 08:35:09 jinx Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/microcode/version.h,v 11.23 1990/01/29 22:33:32 jinx Exp $
Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
#define VERSION 11
#endif
#ifndef SUBVERSION
-#define SUBVERSION 22
+#define SUBVERSION 23
#endif
#ifndef UCODE_TABLES_FILENAME
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/conpar.scm,v 14.11 1989/12/07 05:35:31 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/conpar.scm,v 14.12 1990/01/29 22:34:18 jinx Exp $
-Copyright (c) 1988, 1989 Massachusetts Institute of Technology
+Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(let ((length (length/application-frame 2 0)))
(standard-subproblem 'COMBINATION-APPLY length)
- (standard-subproblem 'INTERNAL-APPLY length))
+ (standard-subproblem 'INTERNAL-APPLY length)
+ (standard-subproblem 'INTERNAL-APPLY-VAL length))
(standard-subproblem 'COMPILER-LOOKUP-APPLY-RESTART
(length/application-frame 4 1))
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/framex.scm,v 14.9 1989/07/13 18:38:41 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/framex.scm,v 14.10 1990/01/29 22:34:56 jinx Exp $
-Copyright (c) 1988, 1989 Massachusetts Institute of Technology
+Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(,(method/application-frame 3)
INTERNAL-APPLY)
+ (,(method/application-frame 3)
+ INTERNAL-APPLY-VAL)
+
(,(method/application-frame 1)
REPEAT-PRIMITIVE)