Changeset 12945
- Timestamp:
- Oct 9, 2009, 10:20:08 AM (15 years ago)
- Location:
- branches/working-0711/ccl
- Files:
-
- 3 edited
-
level-1/l1-init.lisp (modified) (1 diff)
-
lib/compile-ccl.lisp (modified) (1 diff)
-
lib/prepare-mcl-environment.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/level-1/l1-init.lisp
r12347 r12945 261 261 (defparameter *save-definitions* nil) 262 262 (defparameter *save-local-symbols* t) 263 (defparameter *save-source-locations* :no-text263 (defparameter *save-source-locations* T 264 264 "Controls whether complete source locations is stored, both for definitions (names) and 265 265 in function objects. -
branches/working-0711/ccl/lib/compile-ccl.lisp
r12410 r12945 516 516 (defparameter *known-optional-features* '(:count-gf-calls :monitor-futex-wait :unique-dcode)) 517 517 (defvar *build-time-optional-features* nil) 518 519 520 (defun rebuild-ccl (&key update full clean kernel force (reload t) exit reload-arguments verbose optional-features )518 (defvar *ccl-save-source-locations* :no-text) 519 520 (defun rebuild-ccl (&key update full clean kernel force (reload t) exit reload-arguments verbose optional-features (save-source-locations *ccl-save-source-locations*)) 521 521 (let* ((*build-time-optional-features* (intersection *known-optional-features* optional-features)) 522 (*features* (append *build-time-optional-features* *features*))) 522 (*features* (append *build-time-optional-features* *features*)) 523 (*save-source-locations* save-source-locations)) 523 524 (when *build-time-optional-features* 524 525 (setq full t)) -
branches/working-0711/ccl/lib/prepare-mcl-environment.lisp
r3953 r12945 53 53 "Arrange that the outermost special bindings of *PACKAGE* and 54 54 *WARN-IF-REDEFINE-KERNEL* restore values of the CL-USER package and T 55 respectively. If the optional argument is true, marks all globally 56 defined functions and methods as being predefined (this is a fairly 55 respectively, and set *CCL-SAVE-SOURCE-LOCATIONS* to :NO-TEXT. 56 If the optional argument is true, marks all globally defined 57 functions and methods as being predefined (this is a fairly 57 58 expensive operation.)" 58 59 (when freeze-definitions … … 61 62 (%reset-outermost-binding '*warn-if-redefine-kernel* t) 62 63 ;; Set the top-level *package* to the CL-USER package 63 (%reset-outermost-binding '*package* (find-package "CL-USER"))) 64 (%reset-outermost-binding '*package* (find-package "CL-USER")) 65 (setq *ccl-save-source-locations* :NO-TEXT)) 64 66 65 67 (defun set-development-environment (&optional (thaw-definitions nil)) 66 68 "Arrange that the outermost special bindings of *PACKAGE* and 67 69 *WARN-IF-REDEFINE-KERNEL* restore values of the CCL package and NIL 68 respectively . If the optional argument is true, mark all globally69 defined functions and methods as being not predefined (this is a 70 fairly expensive operation.)"70 respectively, and set *ccl-save-source-locations* to T. If the 71 optional argument is true, mark all globally defined functions and 72 methods as being not predefined (this is a fairly expensive operation.)" 71 73 (when thaw-definitions 72 74 (thaw-current-definitions)) … … 74 76 (%reset-outermost-binding '*warn-if-redefine-kernel* nil) 75 77 ;; Set the top-level *package* to the CCL package 76 (%reset-outermost-binding '*package* (find-package "CCL"))) 78 (%reset-outermost-binding '*package* (find-package "CCL")) 79 (setq *ccl-save-source-locations* T)) 77 80 78 81
Note:
See TracChangeset
for help on using the changeset viewer.
