Implement token threading

* bytecode.c (BYTE_CODE_THREADED): New macro.
	(BYTE_CODES): New macro.  Replaces all old byte-code defines.
	(enum byte_code_op): New type.
	(CASE, NEXT, FIRST, CASE_DEFAULT, CASE_ABORT): New macros.
	(exec_byte_code): Use them.  Use token threading when applicable.
This commit is contained in:
Tom Tromey 2012-07-10 08:25:22 -06:00
parent 8477cc7a0a
commit 3a4c8000fb
2 changed files with 571 additions and 449 deletions

View file

@ -1,3 +1,11 @@
2012-07-10 Tom Tromey <tromey@redhat.com>
* bytecode.c (BYTE_CODE_THREADED): New macro.
(BYTE_CODES): New macro. Replaces all old byte-code defines.
(enum byte_code_op): New type.
(CASE, NEXT, FIRST, CASE_DEFAULT, CASE_ABORT): New macros.
(exec_byte_code): Use them. Use token threading when applicable.
2012-07-10 Dmitry Antipov <dmantipov@yandex.ru>
Optimize pure C strings initialization.

File diff suppressed because it is too large Load diff