tcg: Dynamically allocate TCGOps
commit15fa08f8451babc88d733bd411d4c94976f9d0f8
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 2 Nov 2017 14:19:14 +0000 (2 15:19 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Dec 2017 20:43:39 +0000 (29 12:43 -0800)
tree2db297c71e5e7a9f9ae5cff3d37bb98d2b724898
parentf764718d0cb30af9f1f8e1d6a33622cc05ca4155
tcg: Dynamically allocate TCGOps

With no fixed array allocation, we can't overflow a buffer.
This will be important as optimizations related to host vectors
may expand the number of ops used.

Use QTAILQ to link the ops together.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
12 files changed:
include/exec/gen-icount.h
include/qemu/queue.h
target/arm/translate-a64.c
target/arm/translate.c
target/arm/translate.h
target/cris/translate.c
target/lm32/translate.c
target/microblaze/translate.c
tcg/optimize.c
tcg/tcg-op.c
tcg/tcg.c
tcg/tcg.h