Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libcxxabi/test/test_fallback_malloc.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void exhaustion_test1 () {
ptrs = alloc_series ( 32 );
std::printf("Allocated %zu 32 byte chunks\n", ptrs.size());
while ( ptrs.size () > 0 )
fallback_free ( pop ( ptrs, ptrs.size () % 1 == 1 ));
fallback_free(pop(ptrs, ptrs.size() % 2 == 1));
print_free_list ();
}

Expand Down Expand Up @@ -151,7 +151,7 @@ void exhaustion_test2 () {
std::printf("Allocated %zu { 32, 48, 72, 108, 162 ... } byte chunks\n",
ptrs.size());
while ( ptrs.size () > 0 )
fallback_free ( pop ( ptrs, ptrs.size () % 1 == 1 ));
fallback_free(pop(ptrs, ptrs.size() % 2 == 1));
print_free_list ();

}
Expand Down Expand Up @@ -185,7 +185,7 @@ void exhaustion_test3 () {
ptrs = alloc_series ( allocs, sizeof ( allocs ) / sizeof ( allocs[0] ));
std::printf("Allocated %zu chunks\n", ptrs.size());
while ( ptrs.size () > 0 )
fallback_free ( pop ( ptrs, ptrs.size () % 1 == 1 ));
fallback_free(pop(ptrs, ptrs.size() % 2 == 1));
print_free_list ();

}
Expand Down
Loading