llvm.org GIT mirror llvm / 6f21976
Inverted argument order for ImmutableMap::Profile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45507 91177308-0d34-0410-b5e6-96231b3b80d8 Ted Kremenek 12 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
187187
188188 inline unsigned getHeight() const { return Root ? Root->getHeight() : 0; }
189189
190 static inline void Profile(const ImmutableMap& M, FoldingSetNodeID& ID) {
190 static inline void Profile(FoldingSetNodeID& ID, const ImmutableMap& M) {
191191 ID.AddPointer(M.Root);
192192 }
193193
194194 inline void Profile(FoldingSetNodeID& ID) const {
195 return Profile(*this,ID);
195 return Profile(ID,*this);
196196 }
197197 };
198198