Make variant_op jumptable const
Not doing this was a bit of an oversight
This commit is contained in:
parent
158c3fbf3c
commit
758accdcc2
1 changed files with 26 additions and 26 deletions
|
@ -100,7 +100,7 @@
|
||||||
}
|
}
|
||||||
/* clang-format on */
|
/* clang-format on */
|
||||||
|
|
||||||
#define CASES(PREFIX) static void *switch_table_##PREFIX[25][27] = { \
|
#define CASES(PREFIX) static const void *switch_table_##PREFIX[25][27] = { \
|
||||||
TYPES(PREFIX, OP_EQUAL), \
|
TYPES(PREFIX, OP_EQUAL), \
|
||||||
TYPES(PREFIX, OP_NOT_EQUAL), \
|
TYPES(PREFIX, OP_NOT_EQUAL), \
|
||||||
TYPES(PREFIX, OP_LESS), \
|
TYPES(PREFIX, OP_LESS), \
|
||||||
|
|
Loading…
Reference in a new issue