emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 9e6eee36b5: Fix native compiler handling of narrow-to-region


From: Gerd Moellmann
Subject: master 9e6eee36b5: Fix native compiler handling of narrow-to-region
Date: Sat, 30 Jul 2022 11:35:09 -0400 (EDT)

branch: master
commit 9e6eee36b5af2e2b719bca0279a063cfbeef2042
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>

    Fix native compiler handling of narrow-to-region
    
    * lisp/emacs-lisp/comp.el (comp-limplify-lap-inst): Use auto for
    byte-narrow-to-region.
---
 lisp/emacs-lisp/comp.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 6e9132e430..4354ea03a4 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -1915,11 +1915,7 @@ and the annotation emission."
       (byte-char-syntax auto)
       (byte-buffer-substring auto)
       (byte-delete-region auto)
-      (byte-narrow-to-region
-       (comp-emit-set-call (comp-call 'narrow-to-region
-                                      (comp-slot)
-                                      (comp-slot+1)
-                                      (make-comp-mvar :constant nil))))
+      (byte-narrow-to-region auto)
       (byte-widen
        (comp-emit-set-call (comp-call 'widen)))
       (byte-end-of-line auto)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]