commit | 19dbe2f5f0db6b236e76550912eff9cc2a77bca8 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Tue Jul 31 06:15:39 2012 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Tue Jul 31 06:15:39 2012 +0000 |
tree | 19c05bfe88b84ddca812c17198a7026411cd4d6b | |
parent | de9e333e18bbae2a29043deeb8e522cc0fa09036 [diff] [blame] |
Use uint8_t to store the InstructionContext table. Saves 768 bytes of static data. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161034 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/X86DisassemblerTables.cpp b/utils/TableGen/X86DisassemblerTables.cpp index c19520d..749557b 100644 --- a/utils/TableGen/X86DisassemblerTables.cpp +++ b/utils/TableGen/X86DisassemblerTables.cpp
@@ -484,7 +484,7 @@ } 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++;