"FUN-INFO-DERIVE-TYPE" "FUN-INFO-IR2-CONVERT"
"FUN-INFO-LTN-ANNOTATE" "FUN-INFO-OPTIMIZER"
"GET-VECTOR-SUBTYPE"
+ "GET-TOPLEVELISH-FILE-INFO"
"HALT"
"IF-EQ" "INLINE-SYNTACTIC-CLOSURE-LAMBDA"
"INSERT-STEP-CONDITIONS"
;; clearly uninteresting, and we'll say arbitrarily that
;; replacing an interpreted function with an interpreted
;; function is uninteresting, too, but leave out the
- ;; compiled-to-interpreted and interpreted-to-compiled cases.
- (when (or (and (typep old-fdefn
- '(or #!+sb-eval sb!eval:interpreted-function))
- (typep new-fdefn
- '(or #!+sb-eval sb!eval:interpreted-function)))
+ ;; compiled-to-interpreted case.
+ (when (or (typep
+ old-fdefn
+ '(or #!+sb-eval sb!eval:interpreted-function))
(and (typep old-fdefn
'(and compiled-function
(not funcallable-instance)))
(defvar *source-location-thunks* nil)
-;; Should get called only in unusual circumstances. Normally handled
-;; by a compiler macro.
+;; Will be redefined in src/code/source-location.lisp.
(defun source-location ()
nil)
(symbol-value '*source-info*))
`(cons ,(make-file-info-namestring
*compile-file-pathname*
- (source-info-file-info (symbol-value '*source-info*)))
+ (sb!c:get-toplevelish-file-info (symbol-value '*source-info*)))
,(when (boundp '*current-path*)
(source-path-tlf-number (symbol-value '*current-path*))))))
(when (and (boundp '*source-info*)
*source-info*)
(make-file-info-namestring *compile-file-pathname*
- (source-info-file-info *source-info*)))
+ (sb!c:get-toplevelish-file-info *source-info*)))
:type (or string null))
;; Toplevel form index
(toplevel-form-number
(declare (ignore env))
#-sb-xc-host (make-definition-source-location))
+;; We need a regular definition of SOURCE-LOCATION for calls processed
+;; during LOAD on a source file while *EVALUATOR-MODE* is :INTERPRET.
+#!+sb-source-locations
+(setf (symbol-function 'source-location)
+ (lambda () (make-definition-source-location)))
+
(/show0 "/Processing source location thunks")
#!+sb-source-locations
(dolist (fun *source-location-thunks*)
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.18.19"
+"1.0.18.20"