From: Craig Topper Date: Tue, 31 Jul 2012 06:15:39 +0000 (+0000) Subject: Use uint8_t to store the InstructionContext table. Saves 768 bytes of static data. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=19dbe2f5f0db6b236e76550912eff9cc2a77bca8;p=oota-llvm.git 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 c19520d317b..749557b2d02 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++;