зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1814193 - Fix broken macro definition r=sfink
The extra trailing backslash resulted in FOR_EACH_GC_PROFILE_TIME not being expanded at all and the GC profile timing data was never set. Differential Revision: https://phabricator.services.mozilla.com/D169076
This commit is contained in:
Родитель
30468b94f4
Коммит
4dfe07ec96
|
@ -1649,9 +1649,9 @@ Statistics::ProfileDurations Statistics::getProfileTimes(
|
|||
times[ProfileKey::Background] = SumAllPhaseKinds(slice.totalParallelTimes);
|
||||
|
||||
#define GET_PROFILE_TIME(name, text, phase) \
|
||||
if (phase != PhaseKind::None) { \
|
||||
if (phase != PhaseKind::NONE) { \
|
||||
times[ProfileKey::name] = SumPhase(phase, slice.phaseTimes); \
|
||||
} \
|
||||
}
|
||||
FOR_EACH_GC_PROFILE_TIME(GET_PROFILE_TIME)
|
||||
#undef GET_PROFILE_TIME
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче