summaryrefslogtreecommitdiff
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-10-31 04:52:24 +0000
committerJim Blandy <jimb@redhat.com>1992-10-31 04:52:24 +0000
commita2eca43d82a2d351eea7cc051a19ff9f372095f4 (patch)
treed3e12a5b999966f70883381e2a2cde442c85331f /src/bytecode.c
parentd32d756b815f55d54359e2bcfbcd1f794b54c6a4 (diff)
downloademacs-a2eca43d82a2d351eea7cc051a19ff9f372095f4.tar.gz
* 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.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 33383ce7c11..c06797337a1 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -308,7 +308,7 @@ If the third argument is incorrect, Emacs may crash.")
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;