[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 19/20] disas/nanomips: Add struct keyword
From: |
Milica Lazarevic |
Subject: |
[PATCH v2 19/20] disas/nanomips: Add struct keyword |
Date: |
Mon, 5 Sep 2022 11:55:21 +0200 |
Changed the type of the table parameter in Disassemble function:
- from const Pool *
- to const struct Pool *
Signed-off-by: Milica Lazarevic <milica.lazarevic@syrmia.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
---
disas/nanomips.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/disas/nanomips.cpp b/disas/nanomips.cpp
index ab54456c2e..7315484464 100644
--- a/disas/nanomips.cpp
+++ b/disas/nanomips.cpp
@@ -635,7 +635,7 @@ static uint64 extract_op_code_value(const uint16 *data, int
size)
* disassembly string - on error will constain error string
*/
static int Disassemble(const uint16 *data, char *dis,
- TABLE_ENTRY_TYPE *type, const Pool *table,
+ TABLE_ENTRY_TYPE *type, const struct Pool *table,
int table_size, struct Dis_info *info)
{
for (int i = 0; i < table_size; i++) {
--
2.25.1
- Re: [PATCH v2 14/20] disas/nanomips: Remove function overloading, (continued)
- [PATCH v2 15/20] disas/nanomips: Introduce Dis_info struct, Milica Lazarevic, 2022/09/05
- [PATCH v2 16/20] disas/nanomips: Replace exception handling, Milica Lazarevic, 2022/09/05
- [PATCH v2 18/20] disas/nanomips: Remove argument passing by ref, Milica Lazarevic, 2022/09/05
- [PATCH v2 17/20] disas/nanomips: Replace Cpp enums for C enums, Milica Lazarevic, 2022/09/05
- [PATCH v2 19/20] disas/nanomips: Add struct keyword,
Milica Lazarevic <=
- [PATCH v2 20/20] disas/nanomips: Rename nanomips.cpp to nanomips.c, Milica Lazarevic, 2022/09/05