commit | 309a0151a4bac8bc6ff169d668b43231097f60fa | [log] [tgz] |
---|---|---|
author | Paul Wankadia <junyer@google.com> | Fri Apr 08 17:39:16 2016 +1000 |
committer | Paul Wankadia <junyer@google.com> | Fri Apr 08 07:54:24 2016 +0000 |
tree | 71c3504c39289b8693a3c579ff6aaf7309264f85 | |
parent | b2e685dad6642eacc5297b993d1d5e4b091e1e37 [diff] |
Keep count of lists and of instructions by opcode. This enables us to calculate correctly the upper bound on the size of a DFA state. It also enables us to downsize safely the stacks preallocated by the DFA and NFA execution engines. Change-Id: I612ffbd37bbc9ee1237d693dd91a30cb9003e202 Reviewed-on: https://code-review.googlesource.com/4502 Reviewed-by: Paul Wankadia <junyer@google.com>