]> git.eshelyaron.com Git - emacs.git/commitdiff
Adapt native compiler to change in narrow-to-region
authorGerd Möllmann <gerd@gnu.org>
Fri, 29 Jul 2022 15:28:25 +0000 (17:28 +0200)
committerGerd Möllmann <gerd@gnu.org>
Fri, 29 Jul 2022 15:28:25 +0000 (17:28 +0200)
* lisp/emacs-lisp/comp.el (comp-limplify-lap-inst): Add third
argument nil for narrow-to-region.

lisp/emacs-lisp/comp.el

index 5ee10fcbca2f0ba939cc787966df0419eee9de57..6e9132e43044d2416eb3918e23ec102e189c35b3 100644 (file)
@@ -1918,7 +1918,8 @@ and the annotation emission."
       (byte-narrow-to-region
        (comp-emit-set-call (comp-call 'narrow-to-region
                                       (comp-slot)
-                                      (comp-slot+1))))
+                                      (comp-slot+1)
+                                      (make-comp-mvar :constant nil))))
       (byte-widen
        (comp-emit-set-call (comp-call 'widen)))
       (byte-end-of-line auto)