1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[llvm-mca] Remove unused formal parameter. NFC.

llvm-svn: 340227
This commit is contained in:
Matt Davis 2018-08-20 22:41:27 +00:00
parent fcdbc2e770
commit 3ace459e8d

View File

@ -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()) {