* Fix bootstrap with checking enabled
authorAndrea Corallo <acorallo@gnu.org>
Thu, 16 May 2024 05:42:14 +0000 (07:42 +0200)
committerAndrea Corallo <acorallo@gnu.org>
Thu, 16 May 2024 05:53:48 +0000 (07:53 +0200)
* lisp/emacs-lisp/comp.el (comp--limplify-top-level): Set function
safety.

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)