summaryrefslogtreecommitdiff
path: root/lib/Target/MBlaze
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-03 18:47:45 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-03 18:47:45 +0000
commit038f3e31276f8cc86d91d0e4513e1a3ddb8509ba (patch)
tree1097d7f1485a33f7cde31981c73f83b27efaa312 /lib/Target/MBlaze
parentad2d3e637a3a9eb368e71a1672331ee5e7809fe8 (diff)
downloadllvm-038f3e31276f8cc86d91d0e4513e1a3ddb8509ba.tar.gz
llvm-038f3e31276f8cc86d91d0e4513e1a3ddb8509ba.tar.bz2
llvm-038f3e31276f8cc86d91d0e4513e1a3ddb8509ba.tar.xz
[ms-inline asm] Add an interface to the GetMCInstOperandNum() function in the
MCTargetAsmParser class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163122 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze')
-rw-r--r--lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp b/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
index 1ee6e2d5da..e81943c775 100644
--- a/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
+++ b/lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
@@ -56,6 +56,11 @@ class MBlazeAsmParser : public MCTargetAsmParser {
/// }
+ unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
+ const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
+ unsigned OperandNum) {
+ return GetMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum);
+ }
public:
MBlazeAsmParser(MCSubtargetInfo &_STI, MCAsmParser &_Parser)