mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1927795: apply code formatting via Lando
# ignore-this-changeset
This commit is contained in:
parent
1c6762edd3
commit
20ff74f64e
@ -160,9 +160,9 @@ std::pair<Arena*, Arena*> ArenaList::pickArenasToRelocate(
|
||||
|
||||
// Count non-full and full arenas and total used cells, and find the last
|
||||
// non-full arena.
|
||||
size_t fullArenaCount = 0; // Number of full arenas (not relocated).
|
||||
size_t nonFullArenaCount = 0; // Number of non-full arenas to consider.
|
||||
size_t totalUsedCells = 0; // Total used cells in non-full arenas.
|
||||
size_t fullArenaCount = 0; // Number of full arenas (not relocated).
|
||||
size_t nonFullArenaCount = 0; // Number of non-full arenas to consider.
|
||||
size_t totalUsedCells = 0; // Total used cells in non-full arenas.
|
||||
Arena* lastNonFullArena = nullptr;
|
||||
|
||||
Iterator arena = iter();
|
||||
@ -185,7 +185,7 @@ std::pair<Arena*, Arena*> ArenaList::pickArenasToRelocate(
|
||||
size_t followingUsedCells =
|
||||
totalUsedCells; // Total used cells in non full arenas afterwards.
|
||||
size_t relocCount = nonFullArenaCount; // Number of arenas to relocate.
|
||||
Arena* prev = nullptr; // The previous arena considered.
|
||||
Arena* prev = nullptr; // The previous arena considered.
|
||||
|
||||
const size_t cellsPerArena = Arena::thingsPerArena(kind);
|
||||
|
||||
|
@ -136,7 +136,7 @@ BEGIN_TEST(testSinglyLinkedList) {
|
||||
CHECK(list3.isEmpty());
|
||||
|
||||
list.prepend(std::move(list2));
|
||||
CHECK((CheckList<7, 8, 9, 1, 2, 3, 4, 5, 6>(list)));
|
||||
CHECK((CheckList<7, 8, 9, 1, 2, 3, 4, 5, 6>(list)));
|
||||
CHECK(list2.isEmpty());
|
||||
|
||||
// Test iterators.
|
||||
|
Loading…
Reference in New Issue
Block a user