forked from OSchip/llvm-project
parent
a05ea0f3e3
commit
87b3d03cc2
|
@ -570,7 +570,7 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc,
|
|||
unsigned NumDefs = Desc.getNumDefs();
|
||||
for (unsigned i = 1, e = Operands.size(); i != e; ++i) {
|
||||
unsigned NumMCOperands;
|
||||
unsigned MCIdx = TargetParser->GetMCInstOperandNum(Kind, Inst, Operands,
|
||||
unsigned MCIdx = TargetParser->getMCInstOperandNum(Kind, Inst, Operands,
|
||||
i, NumMCOperands);
|
||||
assert (NumMCOperands && "Expected at least 1 MCOperand!");
|
||||
// If we have a one-to-many mapping, then search for the MCExpr.
|
||||
|
|
Loading…
Reference in New Issue