Commit graph

43 commits

Author SHA1 Message Date
Gerd Moellmann fa9aabf634 * bytecode.c (Fbyte_code) <BinsertN, Bcall>: Do the
BEFORE_POTENTIAL_GC before DISCARD.
1999-11-08 00:06:50 +00:00
Gerd Moellmann a719d13ed3 (mark_byte_stack): Use XMARKBIT and XMARK.
(unmark_byte_stack): Renamed from relocate_byte_pcs.  Use
XUNMARK.
1999-11-07 22:44:06 +00:00
Gerd Moellmann 4015b3c0ca Use block statements in cases and declare v1 and v2
locally there.  Rearrange case statements so that thos most
frequently executed come first.  Avoid goto's in frequently
executed cases.
1999-11-07 13:07:56 +00:00
Gerd Moellmann 74e9500823 (Fbyte_code): Use BEFORE_POTENTIAL_GC and
AFTER_POTENTIAL_GC around internal_catch.
1999-11-05 21:55:27 +00:00
Gerd Moellmann 7ca1e8b752 (struct byte_stack): New.
(byte_stack_list, mark_byte_stack, relocate_byte_pcs): New
(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): New.
(FETCH, PUSH, POP, DISCARD, TOP, MAYBE_GC): Rewritten.
(HANDLE_RELOCATION): Removed.
(Fbyte_code): Use byte_stack structures.
1999-11-05 21:26:15 +00:00
Ken Raeburn 70949dac51 Use XCAR, XCDR, XFLOAT_DATA instead of explicit member access. 1999-09-12 05:07:01 +00:00
Kenichi Handa 9192a0270d Include charset.h. 1998-11-16 01:17:06 +00:00
Richard M. Stallman b77ad57db9 (Fbyte_code): Don't use Bmark. 1998-05-10 01:16:42 +00:00
Andreas Schwab dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Richard M. Stallman fc932ac6c7 Use STRING_BYTES and SET_STRING_BYTES. 1998-03-21 07:06:14 +00:00
Richard M. Stallman de404585f8 (Fbyte_code) <Bsave_current_buffer_1>: Use set_buffer_if_live. 1998-01-21 21:41:27 +00:00
Richard M. Stallman 10d0774210 (Fbyte_code): Use size_byte. 1998-01-05 17:30:19 +00:00
Richard M. Stallman 80402f2518 (Bread_char): Deleted.
(Bsave_current_buffer_1): New byte code.
(Fbyte_code): Delete handling Bread_char.
Handle Bsave_current_buffer_1 like Bsave_current_buffer.
1997-06-14 17:08:59 +00:00
Richard M. Stallman 5e7ed09384 (HANDLE_RELOCATION): New macro.
(MAYBE_GC): Call HANDLE_RELOCATION.  Swallow following semicolon.
(Fbyte_code): Use HANDLE_RELOCATION.
1997-01-02 20:50:51 +00:00
Richard M. Stallman 3d5fc37b72 (Fbyte_code): Add error check for jumping out of range. 1996-12-30 05:59:42 +00:00
Richard M. Stallman 147268711e (MAYBE_GC): New macro.
(Fbyte_code): Use MAYBE_GC in every goto opcode.
1996-12-07 21:12:17 +00:00
Richard M. Stallman 3b841abc54 (Bsave_current_buffer): New macro.
(Fbyte_code): Handle Bsave_current_buffer.
1996-09-23 04:27:27 +00:00
Karl Heuer 6ec8bbd20d Change all references from point to PT. 1996-09-01 19:15:05 +00:00
Richard M. Stallman eb086ca748 (Fbyte_code): For relative gotos, force signed arithmetic. 1996-08-16 19:08:24 +00:00
Erik Naggum 3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Erik Naggum 1c57922803 (Fbyte_code): Harmonize arguments with documentation. 1996-01-09 00:30:34 +00:00
Karl Heuer 2628578400 Fix the other instance too. 1995-07-18 00:34:53 +00:00
Karl Heuer 67c098ad3c (Fbyte_code): Fix variable names in previous change. 1995-07-18 00:30:09 +00:00
Karl Heuer 056c80f9c3 (Fbyte_code): For Beqlsign, if both args are ints,
compare as ints.
1995-07-17 22:09:03 +00:00
Richard M. Stallman af09cb431e (Fbyte_code): Call Ffollowing_char and Fprevious_char
as functions.  Don't mask char-syntax arg to just 8 bits.
1994-12-09 14:15:06 +00:00
Karl Heuer 677ad7fec7 (Fbyte_code): Special case for buffer-local objects is now handled by the more
general test.  Simplify.
1994-11-11 07:34:37 +00:00
Karl Heuer 61b9bf7b2c (Fbyte_code): Skip optimization for all Lisp_Misc types. 1994-10-12 05:17:52 +00:00
Karl Heuer 9fae5e5350 (Fbyte_code): Delete case Lisp_Void. 1994-10-06 23:01:51 +00:00
Karl Heuer 117360cb36 (Fbyte_code): Don't use XFASTINT as an lvalue. 1994-10-04 15:38:56 +00:00
Karl Heuer 617bd3f62f (Fbyte_code): Use type test macros. 1994-09-27 03:11:31 +00:00
Roland McGrath 18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Jim Blandy c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy f054132a4d * bytecode.c (Fbyte_code): Pass the correct number of arguments to
temp_output_buffer_show.
1993-02-22 14:23:26 +00:00
Jim Blandy 3b1f62f3ac * 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.
1992-10-31 04:52:24 +00:00
Jim Blandy 63639d4409 * 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.
1992-08-12 13:30:54 +00:00
Joseph Arceneaux 921a89355e Replaced NULL with N 1992-08-06 03:25:57 +00:00
Richard M. Stallman 044512ed54 entered into RCS 1992-08-04 21:22:43 +00:00
Jim Blandy 4746118aca *** empty log message *** 1992-04-24 08:11:54 +00:00
Jim Blandy 265a9e559d *** empty log message *** 1992-01-13 21:48:08 +00:00
Jim Blandy 1464f5d50e *** empty log message *** 1991-12-21 07:03:14 +00:00
Richard M. Stallman 3ffbe76bac *** empty log message *** 1991-11-26 05:00:30 +00:00
Jim Blandy 98bf0c8d69 *** empty log message *** 1991-08-16 04:13:50 +00:00
Jim Blandy 36f7ba0a1e Initial revision 1991-07-02 22:37:47 +00:00