[cfe-commits] r163105 - /cfe/trunk/lib/Sema/SemaStmtAsm.cpp

Chad Rosier mcrosier at apple.com
Sun Sep 2 20:16:15 PDT 2012


Author: mcrosier
Date: Sun Sep  2 22:16:15 2012
New Revision: 163105

URL: http://llvm.org/viewvc/llvm-project?rev=163105&view=rev
Log:
Removed unused argument.

Modified:
    cfe/trunk/lib/Sema/SemaStmtAsm.cpp

Modified: cfe/trunk/lib/Sema/SemaStmtAsm.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmtAsm.cpp?rev=163105&r1=163104&r2=163105&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmtAsm.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmtAsm.cpp Sun Sep  2 22:16:15 2012
@@ -551,11 +551,10 @@
 
     // 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); }





More information about the cfe-commits mailing list