forked from OSchip/llvm-project
Use uint8_t to store the InstructionContext table. Saves 768 bytes of static data.
llvm-svn: 161034
This commit is contained in:
parent
6f142746e7
commit
9caea12bd8
|
@ -484,7 +484,7 @@ void DisassemblerTables::emitInstructionInfo(raw_ostream &o,
|
|||
}
|
||||
|
||||
void DisassemblerTables::emitContextTable(raw_ostream &o, unsigned &i) const {
|
||||
o.indent(i * 2) << "static const InstructionContext " CONTEXTS_STR
|
||||
o.indent(i * 2) << "static const uint8_t " CONTEXTS_STR
|
||||
"[256] = {\n";
|
||||
i++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue