chromium/v8/test/unittests/interpreter/constant-array-builder-unittest.cc

// Copyright 2014 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/init/v8.h"

#include "src/ast/ast-value-factory.h"
#include "src/execution/isolate.h"
#include "src/handles/handles-inl.h"
#include "src/heap/factory.h"
#include "src/interpreter/constant-array-builder.h"
#include "src/numbers/hash-seed-inl.h"
#include "src/objects/objects-inl.h"
#include "test/unittests/test-utils.h"

namespace v8 {
namespace internal {
namespace interpreter {

class ConstantArrayBuilderTest : public TestWithIsolateAndZone {};

STATIC_CONST_MEMBER_DEFINITION const size_t
    ConstantArrayBuilderTest::k16BitCapacity;
STATIC_CONST_MEMBER_DEFINITION const size_t
    ConstantArrayBuilderTest::k8BitCapacity;

TEST_F(ConstantArrayBuilderTest, AllocateAllEntries) {}

TEST_F(ConstantArrayBuilderTest, ToFixedArray) {}

TEST_F(ConstantArrayBuilderTest, ToLargeFixedArray) {}

TEST_F(ConstantArrayBuilderTest, ToLargeFixedArrayWithReservations) {}

TEST_F(ConstantArrayBuilderTest, AllocateEntriesWithIdx8Reservations) {}

TEST_F(ConstantArrayBuilderTest, AllocateEntriesWithWideReservations) {}

TEST_F(ConstantArrayBuilderTest, GapFilledWhenLowReservationCommitted) {}

TEST_F(ConstantArrayBuilderTest, GapNotFilledWhenLowReservationDiscarded) {}

TEST_F(ConstantArrayBuilderTest, HolesWithUnusedReservations) {}

TEST_F(ConstantArrayBuilderTest, ReservationsAtAllScales) {}

TEST_F(ConstantArrayBuilderTest, AllocateEntriesWithFixedReservations) {}

}  // namespace interpreter
}  // namespace internal
}  // namespace v8