diff options
-rw-r--r-- | clang/lib/Sema/SemaStmtAsm.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaStmtAsm.cpp b/clang/lib/Sema/SemaStmtAsm.cpp index bdd2cbce951..d3d646d246f 100644 --- a/clang/lib/Sema/SemaStmtAsm.cpp +++ b/clang/lib/Sema/SemaStmtAsm.cpp @@ -551,11 +551,10 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, // Match the MCInstr. unsigned Kind; - unsigned Opcode; unsigned ErrorInfo; SmallVector<llvm::MCInst, 2> Instrs; - HadError = TargetParser->MatchInstruction(IDLoc, Kind, Opcode, Operands, - Instrs, ErrorInfo, + HadError = TargetParser->MatchInstruction(IDLoc, Kind, Operands, Instrs, + ErrorInfo, /*matchingInlineAsm*/ true); // If we had an error parsing the operands, fail gracefully. if (HadError) { DEF_SIMPLE_MSASM; return Owned(NS); } |