Skip to content

Commit

Permalink
[TableGen] Fix ProfileFoldOpInit so that parameters are named consist…
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul C. Anagnostopoulos committed Jun 9, 2021
1 parent 2ef81cb commit ef8df92
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions llvm/lib/TableGen/Record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1470,9 +1470,8 @@ std::string TernOpInit::getAsString() const {
", " + MHS->getAsString() + ", " + RHS->getAsString() + ")");
}

static void ProfileFoldOpInit(FoldingSetNodeID &ID, Init *A, Init *B,
Init *Start, Init *List, Init *Expr,
RecTy *Type) {
static void ProfileFoldOpInit(FoldingSetNodeID &ID, Init *Start, Init *List,
Init *A, Init *B, Init *Expr, RecTy *Type) {
ID.AddPointer(Start);
ID.AddPointer(List);
ID.AddPointer(A);
Expand Down

0 comments on commit ef8df92

Please sign in to comment.