Make sure to use the TimerGroup that we created!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3995 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-01 20:12:06 +00:00
parent ccc7bef873
commit 57b062a8cc

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