Implement token threading
authorTom Tromey <tromey@redhat.com>
Tue, 10 Jul 2012 14:25:22 +0000 (08:25 -0600)
committerTom Tromey <tromey@redhat.com>
Tue, 10 Jul 2012 14:25:22 +0000 (08:25 -0600)
commit3a4c8000fba422ac9d005d29ad0c5d8becc58167
treee98002892caf74d3ae37828cbc51638e7105035f
parent8477cc7a0a14ad39ee13e4045a85df1ff2cfcd67
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.
src/ChangeLog
src/bytecode.c