1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 10:32:48 +02:00

[TableGen] Fix ProfileFoldOpInit so that parameters are named consistently [NFC]

See https://bugs.llvm.org/show_bug.cgi?id=50595

Differential Revision: https://reviews.llvm.org/D103823
This commit is contained in:
Paul C. Anagnostopoulos 2021-06-07 11:56:26 -04:00
parent 29b12d96c5
commit 35bf9850b8

View File

@ -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);