Skip to content

Commit e132e1c

Browse files
Merge pull request #80370 from cachemeifyoucan/eng/PR-147971980
[IRGen] Fix non-deterministic requests in addAbstractForFulfillments()
2 parents a5e6a7f + cdf881f commit e132e1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/IRGen/Fulfillment.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
#ifndef SWIFT_IRGEN_FULFILLMENT_H
1919
#define SWIFT_IRGEN_FULFILLMENT_H
2020

21-
#include "llvm/ADT/DenseMap.h"
22-
#include "swift/AST/Types.h"
21+
#include "llvm/ADT/MapVector.h"
2322
#include "swift/AST/GenericSignature.h"
23+
#include "swift/AST/Types.h"
2424
#include "swift/IRGen/GenericRequirement.h"
2525
#include "MetadataPath.h"
2626

@@ -49,7 +49,7 @@ struct Fulfillment {
4949
};
5050

5151
class FulfillmentMap {
52-
llvm::DenseMap<GenericRequirement, Fulfillment> Fulfillments;
52+
llvm::MapVector<GenericRequirement, Fulfillment> Fulfillments;
5353

5454
public:
5555
struct InterestingKeysCallback {

0 commit comments

Comments
 (0)