summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorRichard Henderson2020-05-17 19:14:11 +0200
committerRichard Henderson2020-06-08 19:36:47 +0200
commit08561fc1283568d9892033f98651010a18d8f108 (patch)
tree67431768a032b0ccf22d2f82728855c4e6bd9866 /include/exec/exec-all.h
parentdecodetree: Allow group covering the entire insn space (diff)
downloadqemu-08561fc1283568d9892033f98651010a18d8f108.tar.gz
qemu-08561fc1283568d9892033f98651010a18d8f108.tar.xz
qemu-08561fc1283568d9892033f98651010a18d8f108.zip
decodetree: Move semantic propagation into classes
Create ExcMultiPattern to hold an set of non-overlapping patterns. The body of build_tree, prop_format become member functions on this class. Add minimal member functions to Pattern and MultiPattern to allow recusion through the tree. Move the bulk of build_incmulti_pattern to prop_masks and prop_width in MultiPattern, since we will need this for both kinds of containers. Only perform prop_width for variablewidth. Remove global patterns variable, and pass down container object into parse_file from main. No functional change in all of this. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions