diff options
| author | Max Filippov | 2020-04-07 05:59:54 +0200 |
|---|---|---|
| committer | Max Filippov | 2020-04-08 01:08:11 +0200 |
| commit | fde557ad25ff3370ef1dd0587d299a86e060bb23 (patch) | |
| tree | 03efe47629182bac2fd9f54ab1942a8f22753591 /include | |
| parent | target/xtensa: fix pasto in pfwait.r opcode name (diff) | |
| download | qemu-fde557ad25ff3370ef1dd0587d299a86e060bb23.tar.gz qemu-fde557ad25ff3370ef1dd0587d299a86e060bb23.tar.xz qemu-fde557ad25ff3370ef1dd0587d299a86e060bb23.zip | |
target/xtensa: statically allocate xtensa_insnbufs in DisasContext
Rather than dynamically allocate, and risk failing to free
when we longjmp out of the translator, allocate the maximum
buffer size based on the maximum supported instruction length.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
