Commit 3b1f62f3 authored by Jim Blandy's avatar Jim Blandy
Browse files

* 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.
parent ea47125f
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment