Skip to content

Commit

Permalink
Optionally reduce the amount of stuff excised from the image.
Browse files Browse the repository at this point in the history
Using #+sb-devel. Otherwise the compiler is unmodifiable at runtime.
  • Loading branch information
stassats committed Feb 9, 2018
1 parent 6293f11 commit 41a3c22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions make-target-2-load.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@
(load "src/code/shaketree")
(sb-impl::shake-packages
;; Retain all symbols satisfying this predicate
#+sb-devel
(lambda (symbol)
;; Retain all symbols satisfying this predicate
(or (sb-kernel:symbol-info symbol)
(and (boundp symbol) (not (keywordp symbol)))))
#-sb-devel
(lambda (symbol accessibility)
(case (symbol-package symbol)
(#.(find-package "SB-VM")
Expand Down

0 comments on commit 41a3c22

Please sign in to comment.