OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9e333
)
Use uint8_t to store the InstructionContext table. Saves 768 bytes of static data.
author
Craig Topper
<craig.topper@gmail.com>
Tue, 31 Jul 2012 06:15:39 +0000
(06:15 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Tue, 31 Jul 2012 06:15:39 +0000
(06:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161034
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/X86DisassemblerTables.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/X86DisassemblerTables.cpp
b/utils/TableGen/X86DisassemblerTables.cpp
index
c19520d
..
749557b
100644
(file)
--- 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
InstructionContex
t " CONTEXTS_STR
+ o.indent(i * 2) << "static const
uint8_
t " CONTEXTS_STR
"[256] = {\n";
i++;