Fix an issue in r163814.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163837
91177308-0d34-0410-b5e6-
96231b3b80d8
if (BitsLeft < 16) {
// Add a second OpInfo table only when it is necessary.
- O<<" static const short OpInfo2[] = {\n";
+ O<<" static const uint16_t OpInfo2[] = {\n";
for (unsigned i = 0, e = NumberedInstructions.size(); i != e; ++i) {
O << " " << OpcodeInfo[i].second << "U,\t// "
<< NumberedInstructions[i]->TheDef->getName() << "\n";