From: Chad Rosier Date: Mon, 24 Sep 2012 22:58:50 +0000 (+0000) Subject: Update for r164567. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7935dde8e4dd8089536e28d51a0864252064ecd3;p=clang Update for r164567. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164568 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) {