aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MBlaze
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-21 22:21:26 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-21 22:21:26 +0000
commitd717a066c6ddaff401b9259579b265eeafb83b6e (patch)
treea359872459e9eb09037dddc15dbf22fe4201202a /lib/Target/MBlaze
parent7b451cf35613cd4dbed1cd2053464b28974571fc (diff)
downloadexternal_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/MBlaze')
-rw-r--r--lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp b/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
index 4059403..daceb88 100644
--- a/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
+++ b/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
@@ -44,6 +44,10 @@ class MBlazeAsmParser : public MCTargetAsmParser {
bool ParseDirectiveWord(unsigned Size, SMLoc L);
+ bool mnemonicIsValid(StringRef Mnemonic) {
+ return mnemonicIsValidImpl(Mnemonic);
+ }
+
bool MatchAndEmitInstruction(SMLoc IDLoc,
SmallVectorImpl<MCParsedAsmOperand*> &Operands,
MCStreamer &Out);