#include "src/interpreter/bytecode-array-builder.h"
#include <limits>
#include "src/ast/scopes.h"
#include "src/common/globals.h"
#include "src/init/v8.h"
#include "src/interpreter/bytecode-array-iterator.h"
#include "src/interpreter/bytecode-jump-table.h"
#include "src/interpreter/bytecode-label.h"
#include "src/interpreter/bytecode-register-allocator.h"
#include "src/numbers/hash-seed-inl.h"
#include "src/objects/objects-inl.h"
#include "src/objects/smi.h"
#include "test/common/flag-utils.h"
#include "test/unittests/interpreter/bytecode-utils.h"
#include "test/unittests/test-utils.h"
namespace v8 {
namespace internal {
namespace interpreter {
class BytecodeArrayBuilderTest : public TestWithIsolateAndZone { … };
ToBooleanMode;
TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { … }
TEST_F(BytecodeArrayBuilderTest, FrameSizesLookGood) { … }
TEST_F(BytecodeArrayBuilderTest, RegisterValues) { … }
TEST_F(BytecodeArrayBuilderTest, Parameters) { … }
TEST_F(BytecodeArrayBuilderTest, Constants) { … }
TEST_F(BytecodeArrayBuilderTest, ForwardJumps) { … }
TEST_F(BytecodeArrayBuilderTest, BackwardJumps) { … }
TEST_F(BytecodeArrayBuilderTest, SmallSwitch) { … }
TEST_F(BytecodeArrayBuilderTest, WideSwitch) { … }
}
}
}