]> www.infradead.org Git - users/dwmw2/qemu.git/commit
disas/nanomips: Remove disasm methods from class
authorMilica Lazarevic <milica.lazarevic@syrmia.com>
Mon, 12 Sep 2022 12:26:18 +0000 (14:26 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Oct 2022 10:32:07 +0000 (11:32 +0100)
commit8d416f6b455d0c73667a2ffa9a0782aa07627d81
treeeb31f2438fbe0d247ecbffd708c0809c7e47820e
parent655fc22f1bc7a16d9da6bd44c43e763bc27d0b8a
disas/nanomips: Remove disasm methods from class

NMD class methods with the disassembly_function type like
NMD::ABS_D, NMD::ABS_S, etc. are removed from the class. They're now
declared global static functions. Therefore, typedef of the function
pointer, disassembly_function is defined outside of the class.

Now that disassembly_function type functions are not part of the NMD
class we can't access them using the this pointer. Thus, the use of
the this pointer has been deleted.

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-8-milica.lazarevic@syrmia.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
disas/nanomips.cpp
disas/nanomips.h