summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCTargetAsmParser.h
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-03 20:31:23 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-03 20:31:23 +0000
commit2cc97def7434345e399e4f5f3f2001d6d7a93c6f (patch)
treef081444ccf89e0c10a90ab183533c23cd1e034a4 /include/llvm/MC/MCTargetAsmParser.h
parentefeaae8578ce9173a47f9e3fa5c44b90ae60c5ab (diff)
downloadllvm-2cc97def7434345e399e4f5f3f2001d6d7a93c6f.tar.gz
llvm-2cc97def7434345e399e4f5f3f2001d6d7a93c6f.tar.bz2
llvm-2cc97def7434345e399e4f5f3f2001d6d7a93c6f.tar.xz
[ms-inline asm] Asm operands can map to one or more MCOperands. Therefore, add
the NumMCOperands argument to the GetMCInstOperandNum() function that is set to the number of MCOperands this asm operand mapped to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCTargetAsmParser.h')
-rw-r--r--include/llvm/MC/MCTargetAsmParser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/MC/MCTargetAsmParser.h b/include/llvm/MC/MCTargetAsmParser.h
index 007ab41abc..77b3e84254 100644
--- a/include/llvm/MC/MCTargetAsmParser.h
+++ b/include/llvm/MC/MCTargetAsmParser.h
@@ -113,7 +113,8 @@ public:
virtual unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
- unsigned OperandNum) = 0;
+ unsigned OperandNum,
+ unsigned &NumMCOperands) = 0;
};
} // End llvm namespace