tcg: Reorg process_op_defs
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 27 Dec 2024 19:40:42 +0000 (11:40 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Jan 2025 04:57:16 +0000 (20:57 -0800)
commit3e80824e8bffef2d1dd27165a2cf48e8c034ed10
tree140acd56ab03b9ce4350b1f547e12308fa00446e
parentf44824cc4dcdc993d60639576d706ecf5996ca5a
tcg: Reorg process_op_defs

Process each TCGConstraintSetIndex first.  Allocate TCGArgConstraint
arrays based on those.  Only afterward process the TCGOpcodes and
share those TCGArgConstraint arrays.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg.h
tcg/tcg.c