]> git.eshelyaron.com Git - emacs.git/commitdiff
* Fix bootstrap with checking enabled
authorAndrea Corallo <acorallo@gnu.org>
Thu, 16 May 2024 05:42:14 +0000 (07:42 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 16 May 2024 08:23:22 +0000 (10:23 +0200)
* lisp/emacs-lisp/comp.el (comp--limplify-top-level): Set function
safety.

(cherry picked from commit 1b622ff66e32e09fb679b4d371c3be951bf7f000)

lisp/emacs-lisp/comp.el

index 83ca480616f7937da3500310a9f25f65b6a4ab2f..4c76f95a0e92dccf1d28ee4429db6ee039ef4b0c 100644 (file)
@@ -1669,7 +1669,8 @@ into the C code forwarding the compilation unit."
                                  ;; the last function being
                                  ;; registered.
                                  :frame-size 2
-                                 :speed (comp-ctxt-speed comp-ctxt)))
+                                 :speed (comp-ctxt-speed comp-ctxt)
+                                 :safety (comp-ctxt-safety comp-ctxt)))
          (comp-func func)
          (comp-pass (make-comp-limplify
                      :curr-block (make--comp-block-lap -1 0 'top-level)