[llvm] r340227 - [llvm-mca] Remove unused formal parameter. NFC.
Matt Davis via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 20 15:41:27 PDT 2018
Author: mattd
Date: Mon Aug 20 15:41:27 2018
New Revision: 340227
URL: http://llvm.org/viewvc/llvm-project?rev=340227&view=rev
Log:
[llvm-mca] Remove unused formal parameter. NFC.
Modified:
llvm/trunk/tools/llvm-mca/llvm-mca.cpp
Modified: llvm/trunk/tools/llvm-mca/llvm-mca.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/llvm-mca.cpp?rev=340227&r1=340226&r2=340227&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/llvm-mca.cpp (original)
+++ llvm/trunk/tools/llvm-mca/llvm-mca.cpp Mon Aug 20 15:41:27 2018
@@ -236,9 +236,9 @@ public:
}
};
-int AssembleInput(const char *ProgName, MCAsmParser &Parser,
- const Target *TheTarget, MCSubtargetInfo &STI,
- MCInstrInfo &MCII, MCTargetOptions &MCOptions) {
+int AssembleInput(MCAsmParser &Parser, const Target *TheTarget,
+ MCSubtargetInfo &STI, MCInstrInfo &MCII,
+ MCTargetOptions &MCOptions) {
std::unique_ptr<MCTargetAsmParser> TAP(
TheTarget->createMCAsmParser(STI, Parser, MCII, MCOptions));
@@ -424,7 +424,7 @@ int main(int argc, char **argv) {
MCACommentConsumer CC(Regions);
Lexer.setCommentConsumer(&CC);
- if (AssembleInput(ProgName, *P, TheTarget, *STI, *MCII, MCOptions))
+ if (AssembleInput(*P, TheTarget, *STI, *MCII, MCOptions))
return 1;
if (Regions.empty()) {
More information about the llvm-commits
mailing list