diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-07-31 06:15:39 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-07-31 06:15:39 +0000 |
commit | 19dbe2f5f0db6b236e76550912eff9cc2a77bca8 (patch) | |
tree | 19c05bfe88b84ddca812c17198a7026411cd4d6b /utils/TableGen | |
parent | de9e333e18bbae2a29043deeb8e522cc0fa09036 (diff) | |
download | external_llvm-19dbe2f5f0db6b236e76550912eff9cc2a77bca8.zip external_llvm-19dbe2f5f0db6b236e76550912eff9cc2a77bca8.tar.gz external_llvm-19dbe2f5f0db6b236e76550912eff9cc2a77bca8.tar.bz2 |
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
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/X86DisassemblerTables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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::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++; |