Bug 979047, part 2 - Remove unused endGCTime assignments. r=smaug

This commit is contained in:
Andrew McCreight 2014-03-04 16:21:48 -08:00
Родитель 4ee753c914
Коммит 6246ff9e19
1 изменённых файлов: 1 добавлений и 5 удалений

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

@ -2069,15 +2069,11 @@ CycleCollectorStats::PrepareForCycleCollectionSlice(int32_t aExtraForgetSkippabl
mBeginSliceTime = TimeStamp::Now();
// Before we begin the cycle collection, make sure there is no active GC.
TimeStamp endGCTime;
if (sCCLockedOut) {
mAnyLockedOut = true;
FinishAnyIncrementalGC();
endGCTime = TimeStamp::Now();
uint32_t gcTime = TimeBetween(mBeginSliceTime, endGCTime);
uint32_t gcTime = TimeBetween(mBeginSliceTime, TimeStamp::Now());
mMaxGCDuration = std::max(mMaxGCDuration, gcTime);
} else {
endGCTime = mBeginSliceTime;
}
mExtraForgetSkippableCalls = aExtraForgetSkippableCalls;