Update for r164567.

llvm-svn: 164568
This commit is contained in:
Chad Rosier 2012-09-24 22:58:50 +00:00
parent c4734c8950
commit 93b3eb7793
1 changed files with 2 additions and 2 deletions

View File

@ -582,8 +582,8 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc,
// FIXME: The getMCInstOperandNum() function does not work with tied
// operands or custom converters.
unsigned NumMCOperands;
unsigned MCIdx = TargetParser->getMCInstOperandNum(Kind, Inst, Operands,
i, NumMCOperands);
unsigned MCIdx = TargetParser->getMCInstOperandNum(Kind, Operands, i,
NumMCOperands);
assert (NumMCOperands && "Expected at least 1 MCOperand!");
for (unsigned j = MCIdx, e = MCIdx + NumMCOperands; j != e; ++j) {