// Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/execution/isolate.h" #include "src/heap/marking-state-inl.h" #include "test/unittests/heap/heap-utils.h" namespace v8 { namespace internal { namespace heap { // Tests don't work when --optimize-for-size is set. #ifndef V8_LITE_MODE namespace { class PagePromotionTest : public TestWithHeapInternalsAndContext { … }; PageMetadata* FindPageInNewSpace( const std::vector<Handle<FixedArray>>& handles) { … } } // namespace TEST_F(PagePromotionTest, PagePromotion_NewToOld) { … } #endif // V8_LITE_MODE } // namespace heap } // namespace internal } // namespace v8