[ms-inline asm] Asm operands can map to one or more MCOperands. Therefore, add
[oota-llvm.git] / lib / Target / ARM / AsmParser / ARMAsmParser.cpp
index bdb20e85347830a4b5bb1f7c520388107fc9292a..51ba3c3b37c25c702582ed65a5bd711f09f73263 100644 (file)
@@ -265,8 +265,8 @@ public:
 
   unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
                            const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
-                               unsigned OperandNum) {
-    return GetMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum);
+                               unsigned OperandNum, unsigned &NumMCOperands) {
+    return GetMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum, NumMCOperands);
   }
 };
 } // end anonymous namespace