From 3ace459e8dc8268cbc2bf378010a5df2d05ccadd Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Mon, 20 Aug 2018 22:41:27 +0000 Subject: [PATCH] [llvm-mca] Remove unused formal parameter. NFC. llvm-svn: 340227 --- tools/llvm-mca/llvm-mca.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/llvm-mca/llvm-mca.cpp b/tools/llvm-mca/llvm-mca.cpp index 65c298cec1a..15f9a862ecf 100644 --- a/tools/llvm-mca/llvm-mca.cpp +++ b/tools/llvm-mca/llvm-mca.cpp @@ -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 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()) {