]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fbyte_code): Use MOST_POSITIVE_FIXNUM.
authorGerd Moellmann <gerd@gnu.org>
Sat, 6 Oct 2001 23:37:52 +0000 (23:37 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sat, 6 Oct 2001 23:37:52 +0000 (23:37 +0000)
src/bytecode.c

index 2c4e1cca48db711587bd10f983746bd8a01d40d9..f8ecc4f64c092737e5b779b9ebda0d5fda821c78 100644 (file)
@@ -699,7 +699,7 @@ If the third argument is incorrect, Emacs may crash.")
                v1 = TOP;
                v2 = Fget (v1, Qbyte_code_meter);
                if (INTEGERP (v2)
-                   && XINT (v2) != ((1<<VALBITS)-1))
+                   && XINT (v2) < MOST_POSITIVE_FIXNUM)
                  {
                    XSETINT (v2, XINT (v2) + 1);
                    Fput (v1, Qbyte_code_meter, v2);