emacs-diffs
[Top][All Lists]
Advanced

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

master d05f387407 06/14: ; * src/bytecode.c (exec_byte_code): Cosmetic i


From: Mattias Engdegård
Subject: master d05f387407 06/14: ; * src/bytecode.c (exec_byte_code): Cosmetic improvement
Date: Mon, 24 Jan 2022 05:42:36 -0500 (EST)

branch: master
commit d05f387407858672ff0d10b963dbdeaf2a9163e0
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * src/bytecode.c (exec_byte_code): Cosmetic improvement
    
    Implement point_max in the same way as point_min.
---
 src/bytecode.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/bytecode.c b/src/bytecode.c
index 00db29b014..7a9966e20e 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -1212,12 +1212,8 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, 
Lisp_Object maxdepth,
          NEXT;
 
        CASE (Bpoint_max):
-         {
-           Lisp_Object v1;
-           XSETFASTINT (v1, ZV);
-           PUSH (v1);
-           NEXT;
-         }
+         PUSH (make_fixed_natnum (ZV));
+         NEXT;
 
        CASE (Bpoint_min):
          PUSH (make_fixed_natnum (BEGV));



reply via email to

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