File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ namespace {
444
444
static ManagedStatic<sys::SmartMutex<true > > TimingInfoMutex;
445
445
446
446
class TimingInfo {
447
- DenseMap<AnalysisID , Timer*> TimingData;
447
+ DenseMap<Pass* , Timer*> TimingData;
448
448
TimerGroup TG;
449
449
public:
450
450
// Use 'create' member to get this.
@@ -454,7 +454,7 @@ class TimingInfo {
454
454
~TimingInfo () {
455
455
// Delete all of the timers, which accumulate their info into the
456
456
// TimerGroup.
457
- for (DenseMap<AnalysisID , Timer*>::iterator I = TimingData.begin (),
457
+ for (DenseMap<Pass* , Timer*>::iterator I = TimingData.begin (),
458
458
E = TimingData.end (); I != E; ++I)
459
459
delete I->second ;
460
460
// TimerGroup is deleted next, printing the report.
@@ -471,7 +471,7 @@ class TimingInfo {
471
471
return 0 ;
472
472
473
473
sys::SmartScopedLock<true > Lock (*TimingInfoMutex);
474
- Timer *&T = TimingData[P-> getPassID () ];
474
+ Timer *&T = TimingData[P];
475
475
if (T == 0 )
476
476
T = new Timer (P->getPassName (), TG);
477
477
return T;
You can’t perform that action at this time.
0 commit comments