On 9/12/22 13:26, Milica Lazarevic wrote:
We're deleting the m_pc field of the NMD class. It's now part of the
Dis_info struct that this patch introduces. Currently, the Dis_info
struct has just one field, m_pc, which we need for address calculation
in the ADDRESS function.
We're filling Dis_info at the entrance of the nanoMIPS disassembler.
I.e. print_insn_nanomips. Next, we're adding that information as an
argument wherever we need to.
Since NMD class now has no more fields, the NMD constructor is
also deleted.
Signed-off-by: Milica Lazarevic<milica.lazare...@syrmia.com>
---
disas/nanomips.cpp | 1368 ++++++++++++++++++++++----------------------
disas/nanomips.h | 1292 +++++++++++++++++++++--------------------
2 files changed, 1331 insertions(+), 1329 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~