[ms-inline asm] Add an interface to the GetMCInstOperandNum() function in the
[oota-llvm.git] / include / llvm / MC / MCTargetAsmParser.h
index 35c4acd5d2d1463246021cb7255248c9e3ac3152..007ab41abc9e7349a71f1fd8148dbed43482d812 100644 (file)
@@ -111,6 +111,9 @@ public:
     return Match_Success;
   }
 
+  virtual unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
+                           const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
+                                       unsigned OperandNum) = 0;
 };
 
 } // End llvm namespace