From 9ebd0455f344e6806400fef2ee0b410a33b68ad5 Mon Sep 17 00:00:00 2001 From: Gerd Möllmann Date: Fri, 29 Jul 2022 17:28:25 +0200 Subject: Adapt native compiler to change in narrow-to-region * lisp/emacs-lisp/comp.el (comp-limplify-lap-inst): Add third argument nil for narrow-to-region. --- lisp/emacs-lisp/comp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 5ee10fcbca2..6e9132e4304 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -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) -- cgit v1.2.3