| Index: test/cctest/heap/test-heap.cc
|
| diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc
|
| index 1e2ad3aa8bbbe062428ca2e4bd6b4ce73abbb14d..72a55c0f7e5e7f04e43e7ef8f27c63242ef9e0be 100644
|
| --- a/test/cctest/heap/test-heap.cc
|
| +++ b/test/cctest/heap/test-heap.cc
|
| @@ -4264,7 +4264,7 @@ TEST(Regress513507) {
|
| Handle<TypeFeedbackVector> vector =
|
| TypeFeedbackVector::New(isolate, handle(shared->feedback_metadata()));
|
| Handle<LiteralsArray> lit =
|
| - LiteralsArray::New(isolate, vector, shared->num_literals(), TENURED);
|
| + LiteralsArray::New(isolate, vector, shared->num_literals());
|
| Handle<Context> context(isolate->context());
|
|
|
| // Add the new code several times to the optimized code map and also set an
|
| @@ -4342,8 +4342,7 @@ TEST(Regress514122) {
|
| heap::SimulateFullSpace(heap->old_space());
|
|
|
| // Make sure there the number of literals is > 0.
|
| - Handle<LiteralsArray> lit =
|
| - LiteralsArray::New(isolate, vector, 23, TENURED);
|
| + Handle<LiteralsArray> lit = LiteralsArray::New(isolate, vector, 23);
|
|
|
| evac_page = Page::FromAddress(lit->address());
|
| BailoutId id = BailoutId(100);
|
|
|