[llvm-commits] [llvm] r161034 - /llvm/trunk/utils/TableGen/X86DisassemblerTables.cpp
Craig Topper
craig.topper at gmail.com
Mon Jul 30 23:15:39 PDT 2012
Author: ctopper
Date: Tue Jul 31 01:15:39 2012
New Revision: 161034
URL: http://llvm.org/viewvc/llvm-project?rev=161034&view=rev
Log:
Use uint8_t to store the InstructionContext table. Saves 768 bytes of static data.
Modified:
llvm/trunk/utils/TableGen/X86DisassemblerTables.cpp
Modified: llvm/trunk/utils/TableGen/X86DisassemblerTables.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/X86DisassemblerTables.cpp?rev=161034&r1=161033&r2=161034&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/X86DisassemblerTables.cpp (original)
+++ llvm/trunk/utils/TableGen/X86DisassemblerTables.cpp Tue Jul 31 01:15:39 2012
@@ -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++;
More information about the llvm-commits
mailing list