diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-24 07:33:14 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-24 07:33:14 +0000 |
commit | f63ef914b67593e4b20a0b85e889380c20b41f55 (patch) | |
tree | c4149f1f39da81877a151765ca41394889820c92 /include | |
parent | 8d5a10fe60c19d530ddeadbca680d09300c6e538 (diff) | |
download | external_llvm-f63ef914b67593e4b20a0b85e889380c20b41f55.zip external_llvm-f63ef914b67593e4b20a0b85e889380c20b41f55.tar.gz external_llvm-f63ef914b67593e4b20a0b85e889380c20b41f55.tar.bz2 |
Split generated asm mnemonic matching table into a separate table for each asm variant.
This removes the need to store the asm variant in each row of the single table that existed before. Shaves ~16K off the size of X86AsmParser.o.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCTargetAsmParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCTargetAsmParser.h b/include/llvm/MC/MCTargetAsmParser.h index 6e878df..ebcbd5b 100644 --- a/include/llvm/MC/MCTargetAsmParser.h +++ b/include/llvm/MC/MCTargetAsmParser.h @@ -143,7 +143,7 @@ public: /// mnemonicIsValid - This returns true if this is a valid mnemonic and false /// otherwise. - virtual bool mnemonicIsValid(StringRef Mnemonic) = 0; + virtual bool mnemonicIsValid(StringRef Mnemonic, unsigned VariantID) = 0; /// MatchAndEmitInstruction - Recognize a series of operands of a parsed /// instruction as an actual MCInst and emit it to the specified MCStreamer. |