diff options
Diffstat (limited to 'lib/Sema/SemaStmtAsm.cpp')
-rw-r--r-- | lib/Sema/SemaStmtAsm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp index c0bcf2c15e..922777e07d 100644 --- a/lib/Sema/SemaStmtAsm.cpp +++ b/lib/Sema/SemaStmtAsm.cpp @@ -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) { |