mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
ccc7bef873
commit
57b062a8cc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user