]> granicus.if.org Git - re2c/commit
Merge 'save' and 'copy' command lists into one common list.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 4 Apr 2017 07:25:34 +0000 (08:25 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 4 Apr 2017 07:25:34 +0000 (08:25 +0100)
commit10803f4e2b4c92498cc2d7696d02b71ed72f2c77
treec84016c2df4374af92b8ec1f46d332380470e8db
parent7944e063631c3d61cb852c653a5e6c7fb2ddaf6b
Merge 'save' and 'copy' command lists into one common list.

Previously we used separate lists for them; however the structure
of 'save' and 'copy' commands is almost identical, so its easy to
use one C struct for both types. Also, this simplifies analysis:
both types of commands are handled in a uniform way.

However, now we have to do list transformations like sorting and
deleleting duplicates in chunks.

This is a preliminary step to allow intermixing 'copy' and 'save'
commands.
26 files changed:
re2c/src/adfa/adfa.cc
re2c/src/adfa/dump.cc
re2c/src/code/emit_action.cc
re2c/src/code/go_emit.cc
re2c/src/dfa/cfg/cfg.cc
re2c/src/dfa/cfg/cfg.h
re2c/src/dfa/cfg/compact.cc
re2c/src/dfa/cfg/dce.cc
re2c/src/dfa/cfg/dump.cc
re2c/src/dfa/cfg/interfere.cc
re2c/src/dfa/cfg/liveanal.cc
re2c/src/dfa/cfg/normalize.cc
re2c/src/dfa/cfg/optimize.cc
re2c/src/dfa/cfg/rename.cc
re2c/src/dfa/cfg/varalloc.cc
re2c/src/dfa/dead_rules.cc
re2c/src/dfa/determinization.cc
re2c/src/dfa/dfa.h
re2c/src/dfa/dump.cc
re2c/src/dfa/fallback_tags.cc
re2c/src/dfa/find_state.cc
re2c/src/dfa/find_state.h
re2c/src/dfa/tcmd.cc
re2c/src/dfa/tcmd.h
re2c/src/skeleton/generate_data.cc
re2c/src/skeleton/skeleton.cc