diff options
author | Milica Lazarevic <milica.lazarevic@syrmia.com> | 2022-09-12 14:26:30 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2022-10-31 11:32:07 +0100 |
commit | 49ec1c98a3992952836a08b797902b9d49ae4b9d (patch) | |
tree | 519178ed11dbd2fbd57fbaa778bb3d5801d0aa91 /disas | |
parent | 22e7b52acd8ffd10478167652b291db11c9c047d (diff) |
disas/nanomips: Remove function overloading
Disassemble function that calls the other variant of it is deleted.
Where it is called, now we're directly calling the other implementation.
Signed-off-by: Milica Lazarevic <milica.lazarevic@syrmia.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220912122635.74032-20-milica.lazarevic@syrmia.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'disas')
-rw-r--r-- | disas/nanomips.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/disas/nanomips.cpp b/disas/nanomips.cpp index ce93fdad62..85f5784770 100644 --- a/disas/nanomips.cpp +++ b/disas/nanomips.cpp @@ -21917,12 +21917,6 @@ static const Pool MAJOR[2] = { 0x0 }, /* P16 */ }; -static int Disassemble(const uint16 *data, char **dis, - TABLE_ENTRY_TYPE & type, Dis_info *info) -{ - return Disassemble(data, dis, type, MAJOR, 2, info); -} - static int nanomips_dis(char **buf, Dis_info *info, unsigned short one, @@ -21932,7 +21926,7 @@ static int nanomips_dis(char **buf, uint16 bits[3] = {one, two, three}; TABLE_ENTRY_TYPE type; - int size = Disassemble(bits, buf, type, info); + int size = Disassemble(bits, buf, type, MAJOR, 2, info); return size; } |