| Index: test/unittests/heap/slot-set-unittest.cc
|
| diff --git a/test/unittests/heap/slot-set-unittest.cc b/test/unittests/heap/slot-set-unittest.cc
|
| index 8db5b1a8fd2ac10bdf1a47d2fceb694b5f662bf8..65b79253105be64e8d02ba094f6c5b379dfae115 100644
|
| --- a/test/unittests/heap/slot-set-unittest.cc
|
| +++ b/test/unittests/heap/slot-set-unittest.cc
|
| @@ -52,14 +52,16 @@ TEST(SlotSet, Iterate) {
|
| }
|
| }
|
|
|
| - set.Iterate([](Address slot_address) {
|
| - uintptr_t intaddr = reinterpret_cast<uintptr_t>(slot_address);
|
| - if (intaddr % 3 == 0) {
|
| - return KEEP_SLOT;
|
| - } else {
|
| - return REMOVE_SLOT;
|
| - }
|
| - });
|
| + set.Iterate(
|
| + [](Address slot_address) {
|
| + uintptr_t intaddr = reinterpret_cast<uintptr_t>(slot_address);
|
| + if (intaddr % 3 == 0) {
|
| + return KEEP_SLOT;
|
| + } else {
|
| + return REMOVE_SLOT;
|
| + }
|
| + },
|
| + SlotSet::KEEP_EMPTY_BUCKETS);
|
|
|
| for (int i = 0; i < Page::kPageSize; i += kPointerSize) {
|
| if (i % 21 == 0) {
|
|
|