changeset 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 fa4c1f1c744d
children e074a2236b00
files src/bytecode.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;