]> granicus.if.org Git - clang/commitdiff
Update for r164567.
authorChad Rosier <mcrosier@apple.com>
Mon, 24 Sep 2012 22:58:50 +0000 (22:58 +0000)
committerChad Rosier <mcrosier@apple.com>
Mon, 24 Sep 2012 22:58:50 +0000 (22:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164568 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaStmtAsm.cpp

index c0bcf2c15ef67252677413a677c303ae57b6b543..922777e07de5577b45b6b870f6ea0441a494ff01 100644 (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) {