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:
Jon Coppeard 2023-02-07 16:44:51 +00:00
Родитель 30468b94f4
Коммит 4dfe07ec96
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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