forked from OSchip/llvm-project
Use trait-based profiling of SymbolRefs, avoiding calling getNumber() (which will soon be removed).
llvm-svn: 60577
This commit is contained in:
parent
e2c86c30d0
commit
3cb81db1b2
|
@ -92,7 +92,7 @@ void DeclRegion::Profile(llvm::FoldingSetNodeID& ID) const {
|
|||
|
||||
void SymbolicRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, SymbolRef sym) {
|
||||
ID.AddInteger((unsigned) MemRegion::SymbolicRegionKind);
|
||||
ID.AddInteger(sym.getNumber());
|
||||
ID.Add(sym);
|
||||
}
|
||||
|
||||
void SymbolicRegion::Profile(llvm::FoldingSetNodeID& ID) const {
|
||||
|
|
Loading…
Reference in New Issue