| Index: test/cctest/test-weakmaps.cc
|
| diff --git a/test/cctest/test-weakmaps.cc b/test/cctest/test-weakmaps.cc
|
| index dfe3f453c504affb195ec3d492adfefb327c339f..703c520debec0d98d5f912851ee01135ec07af46 100644
|
| --- a/test/cctest/test-weakmaps.cc
|
| +++ b/test/cctest/test-weakmaps.cc
|
| @@ -182,7 +182,7 @@ TEST(Regress2060a) {
|
| Handle<JSWeakMap> weakmap = AllocateJSWeakMap(isolate);
|
|
|
| // Start second old-space page so that values land on evacuation candidate.
|
| - Page* first_page = heap->old_pointer_space()->anchor()->next_page();
|
| + Page* first_page = heap->old_space()->anchor()->next_page();
|
| int dummy_array_size = Page::kMaxRegularHeapObjectSize - 92 * KB;
|
| factory->NewFixedArray(dummy_array_size / kPointerSize, TENURED);
|
|
|
| @@ -221,7 +221,7 @@ TEST(Regress2060b) {
|
| factory->function_string());
|
|
|
| // Start second old-space page so that keys land on evacuation candidate.
|
| - Page* first_page = heap->old_pointer_space()->anchor()->next_page();
|
| + Page* first_page = heap->old_space()->anchor()->next_page();
|
| int dummy_array_size = Page::kMaxRegularHeapObjectSize - 92 * KB;
|
| factory->NewFixedArray(dummy_array_size / kPointerSize, TENURED);
|
|
|
|
|