chromium/v8/test/unittests/compiler/typed-optimization-unittest.cc

// 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/compiler/typed-optimization.h"

#include "src/compiler/compilation-dependencies.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/js-operator.h"
#include "src/compiler/machine-operator.h"
#include "src/execution/isolate-inl.h"
#include "test/unittests/compiler/graph-unittest.h"
#include "test/unittests/compiler/node-test-utils.h"
#include "testing/gmock-support.h"

IsNaN;

namespace v8 {
namespace internal {
namespace compiler {
namespace typed_optimization_unittest {

class TypedOptimizationTest : public TypedGraphTest {};

// -----------------------------------------------------------------------------
// ToBoolean

TEST_F(TypedOptimizationTest, ToBooleanWithBoolean) {}

TEST_F(TypedOptimizationTest, ToBooleanWithOrderedNumber) {}

TEST_F(TypedOptimizationTest, ToBooleanWithNumber) {}

TEST_F(TypedOptimizationTest, ToBooleanWithDetectableReceiverOrNull) {}

TEST_F(TypedOptimizationTest, ToBooleanWithReceiverOrNullOrUndefined) {}

TEST_F(TypedOptimizationTest, ToBooleanWithString) {}

TEST_F(TypedOptimizationTest, ToBooleanWithAny) {}

// -----------------------------------------------------------------------------
// ReferenceEqual
TEST_F(TypedOptimizationTest, ReferenceEqualWithBooleanTrueConstant) {}

TEST_F(TypedOptimizationTest, ReferenceEqualWithBooleanFalseConstant) {}

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