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 c0bcf2c..922777e 100644
--- a/lib/Sema/SemaStmtAsm.cpp
+++ b/lib/Sema/SemaStmtAsm.cpp
@@ -582,8 +582,8 @@
// 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) {