disas/nanomips: Remove Pool tables from the class
commita146549034a67234d7b8c5aa66cc2552989c630a
authorMilica Lazarevic <milica.lazarevic@syrmia.com>
Mon, 12 Sep 2022 12:26:19 +0000 (12 14:26 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Oct 2022 10:32:07 +0000 (31 11:32 +0100)
treec909b27ab57739d8d6783782d26af5142d03ffa8
parent8d416f6b455d0c73667a2ffa9a0782aa07627d81
disas/nanomips: Remove Pool tables from the class

Pool tables are no longer declared as static fields of the NMD
class but as global static const variables. Pool struct is defined
outside of the class.

The NMD::Disassemble method is using the MAJOR Pool table variable, so
its implementation is moved to the end of the nanomips.cpp file,
right after the initialization of the MAJOR Pool table.

Signed-off-by: Milica Lazarevic <milica.lazarevic@syrmia.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220912122635.74032-9-milica.lazarevic@syrmia.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
disas/nanomips.cpp
disas/nanomips.h