chromium/v8/test/unittests/compiler/constant-folding-reducer-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/constant-folding-reducer.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"

namespace v8 {
namespace internal {
namespace compiler {
namespace constant_folding_reducer_unittest {

IsNaN;

namespace {

const double kFloat64Values[] =;

const double kIntegerValues[] =;

}  // namespace

class ConstantFoldingReducerTest : public TypedGraphTest {};

TEST_F(ConstantFoldingReducerTest, ParameterWithMinusZero) {}

TEST_F(ConstantFoldingReducerTest, ParameterWithNull) {}

TEST_F(ConstantFoldingReducerTest, ParameterWithNaN) {}

TEST_F(ConstantFoldingReducerTest, ParameterWithPlainNumber) {}

TEST_F(ConstantFoldingReducerTest, ParameterWithUndefined) {}

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

TEST_F(ConstantFoldingReducerTest, ToBooleanWithFalsish) {}

TEST_F(ConstantFoldingReducerTest, ToBooleanWithTruish) {}

TEST_F(ConstantFoldingReducerTest, ToBooleanWithNonZeroPlainNumber) {}

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