diff options
| author | Jim Blandy <jimb@redhat.com> | 1992-10-31 04:52:24 +0000 |
|---|---|---|
| committer | Jim Blandy <jimb@redhat.com> | 1992-10-31 04:52:24 +0000 |
| commit | 3b1f62f3ac250a59017f10c89e951dae7795e6b6 (patch) | |
| tree | 1a257703438a6ff389c94235c234bd8cd74e0f98 /src/bytecode.c | |
| parent | ea47125f68e167d26f9495db9f609ac130df95e0 (diff) | |
| download | emacs-3b1f62f3ac250a59017f10c89e951dae7795e6b6.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.c | 2 |
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; |
