diff options
| author | Chad Rosier <mcrosier@apple.com> | 2012-09-21 22:21:26 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2012-09-21 22:21:26 +0000 |
| commit | 17ede627f0e7ee317f94372a4ab49f9ae0fc6b2c (patch) | |
| tree | 48aa877934eaace8be487cb1476e703c0d5eff3e /llvm/utils/TableGen | |
| parent | c1c8a1bb6ad9f95f1e9affb9d1f22ff5a1b70b3a (diff) | |
| download | bcm5719-llvm-17ede627f0e7ee317f94372a4ab49f9ae0fc6b2c.tar.gz bcm5719-llvm-17ede627f0e7ee317f94372a4ab49f9ae0fc6b2c.zip | |
[ms-inline asm] Expose the mnemonicIsValid() function in the AsmParser.
llvm-svn: 164420
Diffstat (limited to 'llvm/utils/TableGen')
| -rw-r--r-- | llvm/utils/TableGen/AsmMatcherEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp index 3d74c904f37..593de698a94 100644 --- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp +++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp @@ -2621,7 +2621,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) { << " const " << "SmallVectorImpl<MCParsedAsmOperand*> &Operands,\n " << " unsigned OperandNum, unsigned &NumMCOperands);\n"; - OS << " bool MnemonicIsValid(StringRef Mnemonic);\n"; + OS << " bool mnemonicIsValidImpl(StringRef Mnemonic);\n"; OS << " unsigned MatchInstructionImpl(\n" << " const SmallVectorImpl<MCParsedAsmOperand*> &Operands,\n" << " unsigned &Kind, MCInst &Inst, " @@ -2800,7 +2800,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) { // A method to determine if a mnemonic is in the list. OS << "bool " << Target.getName() << ClassName << "::\n" - << "MnemonicIsValid(StringRef Mnemonic) {\n"; + << "mnemonicIsValidImpl(StringRef Mnemonic) {\n"; OS << " // Search the table.\n"; OS << " std::pair<const MatchEntry*, const MatchEntry*> MnemonicRange =\n"; OS << " std::equal_range(MatchTable, MatchTable+" |

