Skip to content

Commit 3f519e7

Browse files
committed
fix sysreg registers in RISC-V and modify the header patcher to not crash if a header doesn't include all tags of a generated .inc file
1 parent 95fe762 commit 3f519e7

3 files changed

Lines changed: 420 additions & 6 deletions

File tree

arch/RISCV/RISCVInstPrinter.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,4 @@ const char *getSysRegName(unsigned reg);
6161

6262
bool isCompressed(MCInst *MI);
6363

64-
typedef enum {
65-
#define GET_ENUM_VALUES_SysReg
66-
#include "RISCVGenCSSystemOperandsEnum.inc"
67-
} SysRegValue;
68-
6964
#endif

0 commit comments

Comments
 (0)