target/hexagon: idef-parser remove unused defines
authorAnton Johansson <anjo@rev.ng>
Thu, 23 May 2024 12:58:58 +0000 (14:58 +0200)
committerBrian Cain <bcain@quicinc.com>
Sun, 9 Jun 2024 00:49:16 +0000 (17:49 -0700)
Before switching to GArray/g_string_printf we used fixed size arrays for
output buffers and instructions arguments among other things.

Macros defining the sizes of these buffers were left behind, remove
them.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20240523125901.27797-2-anjo@rev.ng>
Signed-off-by: Brian Cain <bcain@quicinc.com>
target/hexagon/idef-parser/idef-parser.h

index 3faa1deecd6d8a410d5cf28decfe8f4b78382d47..8594cbe3a2453d6247766da2a08d7078b210605e 100644 (file)
 #include <stdbool.h>
 #include <glib.h>
 
-#define TCGV_NAME_SIZE 7
-#define MAX_WRITTEN_REGS 32
-#define OFFSET_STR_LEN 32
-#define ALLOC_LIST_LEN 32
-#define ALLOC_NAME_SIZE 32
-#define INIT_LIST_LEN 32
-#define OUT_BUF_LEN (1024 * 1024)
-#define SIGNATURE_BUF_LEN (128 * 1024)
-#define HEADER_BUF_LEN (128 * 1024)
-
 /* Variadic macros to wrap the buffer printing functions */
 #define EMIT(c, ...)                                                           \
     do {                                                                       \