summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-09-03 03:16:15 +0000
committerChad Rosier <mcrosier@apple.com>2012-09-03 03:16:15 +0000
commitfd648a0320131e73b9db0d622f59ff2fe80e3e4b (patch)
tree4c04257d735496c16b6be20c91629551c5bdfe33 /clang/lib
parenta353dba17de9d01704291bc7228c1d9f07012141 (diff)
downloadbcm5719-llvm-fd648a0320131e73b9db0d622f59ff2fe80e3e4b.tar.gz
bcm5719-llvm-fd648a0320131e73b9db0d622f59ff2fe80e3e4b.zip
Removed unused argument.
llvm-svn: 163105
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaStmtAsm.cpp5
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); }
OpenPOWER on IntegriCloud