/usr/share/scsh-0.6/misc/annotate.scm is in scsh-common-0.6 0.6.7-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | ; Copyright (c) 1993-1999 by Richard Kelsey and Jonathan Rees. See file COPYING.
; Derived from
; (lambda (x y) (cons (car x) (cdr x)))
(define annotate-procedure
(lap annotate-procedure ()
0 (protocol 2)
2 (make-env 2)
4 (local0 2)
6 (stored-object-ref closure 0)
9 (push)
10 (local0 2)
12 (stored-object-ref closure 1)
(push)
(local0 1)
15 (make-stored-object 3 closure)
18 (return)))
; Derived from
; (lambda (x) (if (< 2 (vector-length x)) (vector-ref x 2) #f))
(define procedure-annotation
(lap procedure-anotation ()
0 (protocol 1)
2 (make-env 1)
4 (literal '2)
6 (push)
7 (local0 1)
9 (stored-object-length closure)
11 (<)
12 (jump-if-false (=> 23))
15 (local0 1)
20 (stored-object-ref closure 2)
22 (return)
23 (false)
24 (return)))
|