summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-02-11 14:50:54 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-02-11 14:50:54 +0000
commit953362cdfbf1088153f65376c86d22ee0176bcdf (patch)
tree2d5a533d8ef56500b8d8d70264879e5e33555611 /utils
parentb9d75a94dd617f0bcc4bd56c52e2d5e8a9bec3fa (diff)
downloadllvm-953362cdfbf1088153f65376c86d22ee0176bcdf.tar.gz
llvm-953362cdfbf1088153f65376c86d22ee0176bcdf.tar.bz2
llvm-953362cdfbf1088153f65376c86d22ee0176bcdf.tar.xz
Reuse the enum names from X86Desc in the X86Disassembler.
This requires some gymnastics to make it available for C code. Remove the names from the disassembler tables, making them relocation free. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/X86DisassemblerTables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/X86DisassemblerTables.cpp b/utils/TableGen/X86DisassemblerTables.cpp
index b5f970d354..b22aeddb7d 100644
--- a/utils/TableGen/X86DisassemblerTables.cpp
+++ b/utils/TableGen/X86DisassemblerTables.cpp
@@ -486,7 +486,7 @@ void DisassemblerTables::emitInstructionInfo(raw_ostream &o, uint32_t &i)
i--;
o.indent(i * 2) << "}," << "\n";
- o.indent(i * 2) << "\"" << InstructionSpecifiers[index].name << "\"";
+ o.indent(i * 2) << "/* " << InstructionSpecifiers[index].name << " */";
o << "\n";
i--;