Make sure to use the TimerGroup that we created!

llvm-svn: 3995
This commit is contained in:
Chris Lattner 2002-10-01 20:12:06 +00:00
parent 10fd9ad81e
commit 9a8022871b

View File

@ -100,7 +100,7 @@ public:
if (dynamic_cast<AnalysisResolver*>(P)) return;
std::map<Pass*, Timer>::iterator I = TimingData.find(P);
if (I == TimingData.end())
I = TimingData.insert(std::make_pair(P, Timer(P->getPassName()))).first;
I=TimingData.insert(std::make_pair(P, Timer(P->getPassName(), TG))).first;
I->second.startTimer();
}
void passEnded(Pass *P) {