| 2784 | } |
| 2785 | |
| 2786 | void Pattern::assemble(DFA::State *start) |
| 2787 | { |
| 2788 | DBGLOG("BEGIN assemble()"); |
| 2789 | timer_type t; |
| 2790 | timer_start(t); |
| 2791 | if (opt_.h) |
| 2792 | gen_match_hfa(start); |
| 2793 | analyze_dfa(start); |
| 2794 | ams_ = timer_elapsed(t); |
| 2795 | graph_dfa(start); |
| 2796 | compact_dfa(start); |
| 2797 | encode_dfa(start); |
| 2798 | wms_ = timer_elapsed(t); |
| 2799 | if (!opt_.f.empty()) |
| 2800 | { |
| 2801 | if (opt_.o) |
| 2802 | gencode_dfa(start); |
| 2803 | else |
| 2804 | export_code(); |
| 2805 | } |
| 2806 | DBGLOG("END assemble()"); |
| 2807 | } |
| 2808 | |
| 2809 | void Pattern::compact_dfa(DFA::State *start) |
| 2810 | { |
nothing calls this directly
no test coverage detected