chromium/v8/test/cctest/torque/test-torque.cc

// Copyright 2015 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 <cmath>

#include "src/api/api-inl.h"
#include "src/base/utils/random-number-generator.h"
#include "src/builtins/builtins-promise-gen.h"
#include "src/builtins/builtins-string-gen.h"
#include "src/codegen/code-stub-assembler-inl.h"
#include "src/compiler/node.h"
#include "src/debug/debug.h"
#include "src/execution/isolate.h"
#include "src/objects/elements-kind.h"
#include "src/objects/objects-inl.h"
#include "src/objects/promise-inl.h"
#include "src/objects/torque-defined-classes-inl.h"
#include "src/strings/char-predicates.h"
#include "test/cctest/compiler/function-tester.h"
#include "test/cctest/heap/heap-utils.h"
#include "test/common/code-assembler-tester.h"

namespace v8 {
namespace internal {
namespace compiler {

#include "src/codegen/define-code-stub-assembler-macros.inc"

namespace {

class TestTorqueAssembler : public CodeStubAssembler {};

}  // namespace

TEST(TestConstexpr1) {}

TEST(TestConstexprIf) {}

TEST(TestConstexprReturn) {}

TEST(TestGotoLabel) {}

TEST(TestGotoLabelWithOneParameter) {}

TEST(TestGotoLabelWithTwoParameters) {}

TEST(TestPartiallyUnusedLabel) {}

TEST(TestBuiltinSpecialization) {}

TEST(TestMacroSpecialization) {}

TEST(TestFunctionPointers) {}

TEST(TestTernaryOperator) {}

TEST(TestFunctionPointerToGeneric) {}

TEST(TestUnsafeCast) {}

TEST(TestHexLiteral) {}

TEST(TestModuleConstBindings) {}

TEST(TestLocalConstBindings) {}

TEST(TestForLoop) {}

TEST(TestTypeswitch) {}

TEST(TestGenericOverload) {}

TEST(TestEquality) {}

TEST(TestLogicalOperators) {}

TEST(TestOtherwiseAndLabels) {}

TEST(TestCatch1) {}

TEST(TestCatch2) {}

TEST(TestCatch3) {}

TEST(TestLookup) {}

TEST(TestFrame1) {}

TEST(TestNew) {}

TEST(TestStructConstructor) {}

TEST(TestInternalClass) {}

TEST(TestNewFixedArrayFromSpread) {}

TEST(TestReferences) {}

TEST(TestSlices) {}

TEST(TestSliceEnumeration) {}

TEST(TestStaticAssert) {}

TEST(TestLoadEliminationFixed) {}

TEST(TestLoadEliminationVariable) {}

TEST(TestRedundantArrayElementCheck) {}

TEST(TestRedundantSmiCheck) {}

TEST(TestGenericStruct1) {}

TEST(TestGenericStruct2) {}

TEST(TestBranchOnBoolOptimization) {}

TEST(TestBitFieldLoad) {}

TEST(TestBitFieldStore) {}

TEST(TestBitFieldInit) {}

TEST(TestBitFieldUintptrOps) {}

TEST(TestBitFieldMultipleFlags) {}

TEST(TestTestParentFrameArguments) {}

TEST(TestFullyGeneratedClassFromCpp) {}

TEST(TestGeneratedCastOperators) {}

TEST(TestNewPretenured) {}

TEST(TestWord8Phi) {}

TEST(TestOffHeapSlice) {}

TEST(TestCallMultiReturnBuiltin) {}

TEST(TestRunLazyTwice) {}

TEST(TestCreateLazyNodeFromTorque) {}

TEST(TestReturnNever_NotCalled) {}

// Test calling a builtin that calls a runtime fct with return type {never}.
TEST(TestReturnNever_Runtime_Called) {}

// Test calling a builtin that calls another builtin with return type {never}.
TEST(TestReturnNever_Builtin_Called) {}

#include "src/codegen/undef-code-stub-assembler-macros.inc"

}  // namespace compiler
}  // namespace internal
}  // namespace v8