Skip to content

Commit 026de54

Browse files
committed
Change RegDiffLists type to MCPhysReg
1 parent 47bfbf0 commit 026de54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/PrinterCapstone.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ static void printDiff16(raw_ostream &OS, int16_t Val) { OS << Val; }
230230
void PrinterCapstone::regInfoEmitRegDiffLists(
231231
std::string const TargetName,
232232
SequenceToOffsetTable<DiffVec> const &DiffSeqs) const {
233-
OS << "static const int16_t " << TargetName << "RegDiffLists[] = {\n";
233+
OS << "static const MCPhysReg " << TargetName << "RegDiffLists[] = {\n";
234234
DiffSeqs.emit(OS, printDiff16);
235235
OS << "};\n\n";
236236
}

0 commit comments

Comments
 (0)