diff options
| author | Jim Blandy | 1992-10-31 04:52:24 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-10-31 04:52:24 +0000 |
| commit | 3b1f62f3ac250a59017f10c89e951dae7795e6b6 (patch) | |
| tree | 1a257703438a6ff389c94235c234bd8cd74e0f98 /src/bytecode.c | |
| parent | ea47125f68e167d26f9495db9f609ac130df95e0 (diff) | |
| download | emacs-3b1f62f3ac250a59017f10c89e951dae7795e6b6.tar.gz emacs-3b1f62f3ac250a59017f10c89e951dae7795e6b6.zip | |
* 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.") | |||
| 308 | pc - XSTRING (string_saved)->data); | 308 | pc - XSTRING (string_saved)->data); |
| 309 | #endif | 309 | #endif |
| 310 | 310 | ||
| 311 | if (string_saved != bytestr) | 311 | if (! EQ (string_saved, bytestr)) |
| 312 | { | 312 | { |
| 313 | pc = pc - XSTRING (string_saved)->data + XSTRING (bytestr)->data; | 313 | pc = pc - XSTRING (string_saved)->data + XSTRING (bytestr)->data; |
| 314 | string_saved = bytestr; | 314 | string_saved = bytestr; |