Use trait-based profiling of SymbolRefs, avoiding calling getNumber() (which will soon be removed).

llvm-svn: 60577
This commit is contained in:
Ted Kremenek 2008-12-05 02:39:38 +00:00
parent e2c86c30d0
commit 3cb81db1b2
1 changed files with 1 additions and 1 deletions

View File

@ -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 {