diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Sema/SemaStmtAsm.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Sema/SemaStmtAsm.cpp b/lib/Sema/SemaStmtAsm.cpp index b4b91ec445..d03a0df3f9 100644 --- a/lib/Sema/SemaStmtAsm.cpp +++ b/lib/Sema/SemaStmtAsm.cpp @@ -589,8 +589,10 @@ StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, assert (!HadError && "Unexpected error parsing instruction"); // Match the MCInstr. + unsigned ErrorInfo; SmallVector<llvm::MCInst, 2> Instrs; - HadError = TargetParser->MatchInstruction(IDLoc, Operands, Instrs); + HadError = TargetParser->MatchInstruction(IDLoc, Operands, Instrs, + ErrorInfo); assert (!HadError && "Unexpected error matching instruction"); assert ((Instrs.size() == 1) && "Expected only a single instruction."); |