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 | d717a066c6ddaff401b9259579b265eeafb83b6e (patch) | |
| tree | a359872459e9eb09037dddc15dbf22fe4201202a /lib/Target/ARM/AsmParser | |
| parent | 7b451cf35613cd4dbed1cd2053464b28974571fc (diff) | |
| download | external_llvm-d717a066c6ddaff401b9259579b265eeafb83b6e.zip external_llvm-d717a066c6ddaff401b9259579b265eeafb83b6e.tar.gz external_llvm-d717a066c6ddaff401b9259579b265eeafb83b6e.tar.bz2 | |
[ms-inline asm] Expose the mnemonicIsValid() function in the AsmParser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmParser')
| -rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 6431b75..3e68a0b 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -257,6 +257,10 @@ public: SmallVectorImpl<MCParsedAsmOperand*> &Operands); bool ParseDirective(AsmToken DirectiveID); + bool mnemonicIsValid(StringRef Mnemonic) { + return mnemonicIsValidImpl(Mnemonic); + } + unsigned checkTargetMatchPredicate(MCInst &Inst); bool MatchAndEmitInstruction(SMLoc IDLoc, |
