[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 18/20] disas/nanomips: Add struct keyword
From: |
Milica Lazarevic |
Subject: |
[PATCH 18/20] disas/nanomips: Add struct keyword |
Date: |
Mon, 15 Aug 2022 09:26:27 +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>
---
disas/nanomips.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/disas/nanomips.cpp b/disas/nanomips.cpp
index 7dfefdc5ed..e7d6bffe84 100644
--- a/disas/nanomips.cpp
+++ b/disas/nanomips.cpp
@@ -638,7 +638,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)
{
for (int i = 0; i < table_size; i++) {
--
2.25.1
- Re: [PATCH 13/20] disas/nanomips: Add free() calls, (continued)
- [PATCH 14/20] disas/nanomips: Remove function overloading, Milica Lazarevic, 2022/08/15
- [PATCH 15/20] disas/nanomips: Replace exception handling, Milica Lazarevic, 2022/08/15
- [PATCH 16/20] disas/nanomips: Replace Cpp enums for C enums, Milica Lazarevic, 2022/08/15
- [PATCH 17/20] disas/nanomips: Remove argument passing by ref, Milica Lazarevic, 2022/08/15
- [PATCH 18/20] disas/nanomips: Add struct keyword,
Milica Lazarevic <=
- [PATCH 19/20] disas/nanomips: Add modifier static, Milica Lazarevic, 2022/08/15
- [PATCH 20/20] disas/nanomips: Rename nanomips.cpp to nanomips.c, Milica Lazarevic, 2022/08/15