File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/include/llvm/ProfileData Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ struct DataAccessProfRecord {
121121// / deserialization.
122122class DataAccessProfData {
123123public:
124+ // Use MapVector to keep input order of strings for serialization and
125+ // deserialization.
124126 using StringToIndexMap = llvm::MapVector<StringRef, uint64_t >;
125127
126128 DataAccessProfData () : Saver(Allocator) {}
@@ -201,8 +203,6 @@ class DataAccessProfData {
201203 // `Records` stores the records.
202204 MapVector<SymbolHandleRef, internal::DataAccessProfRecordRef> Records;
203205
204- // Use MapVector to keep input order of strings for serialization and
205- // deserialization.
206206 StringToIndexMap StrToIndexMap;
207207 llvm::SetVector<uint64_t > KnownColdHashes;
208208 llvm::SetVector<StringRef> KnownColdSymbols;
You can’t perform that action at this time.
0 commit comments