Mercurial > emacs
diff src/bytecode.c @ 1503:3ad82148830b
* bytecode.c (Fbyte_code): Use EQ to compare string_saved with
bytestr.
* bytecode.c (Fbyte_code): When metering the Bcall opcodes, make
sure the count on the symbol's `byte-code-meter' property does not
overflow.
* bytecode.c (syms_of_bytecode): Add a docstring for
byte-metering-on.
| author | Jim Blandy <jimb@redhat.com> |
|---|---|
| date | Sat, 31 Oct 1992 04:52:24 +0000 |
| parents | c1fc76b79275 |
| children | d9fc49956cd8 |
line wrap: on
line diff
--- a/src/bytecode.c Sat Oct 31 04:51:36 1992 +0000 +++ b/src/bytecode.c Sat Oct 31 04:52:24 1992 +0000 @@ -308,7 +308,7 @@ pc - XSTRING (string_saved)->data); #endif - if (string_saved != bytestr) + if (! EQ (string_saved, bytestr)) { pc = pc - XSTRING (string_saved)->data + XSTRING (bytestr)->data; string_saved = bytestr;
