aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-24 22:58:50 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-24 22:58:50 +0000
commit7935dde8e4dd8089536e28d51a0864252064ecd3 (patch)
treecf555733bf320a83d366e7c2a3e5c2378c040f13 /lib/Sema
parent9b760e8050c6ffcffdfdbde3f8db2992fa717aab (diff)
Update for r164567.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema')
-rw-r--r--lib/Sema/SemaStmtAsm.cpp4
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) {