chromium/v8/test/unittests/compiler/graph-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 "test/unittests/compiler/graph-unittest.h"

#include "src/compiler/node-properties.h"
#include "src/heap/factory.h"
#include "src/objects/objects-inl.h"  // TODO(everyone): Make typer.h IWYU compliant.
#include "test/unittests/compiler/node-test-utils.h"

namespace v8 {
namespace internal {
namespace compiler {

GraphTest::GraphTest(int num_parameters)
    :{}

void GraphTest::Reset() {}

GraphTest::Data::Data(Isolate* isolate, Zone* zone, int num_parameters)
    :{}

GraphTest::Data::~Data() {}

Node* GraphTest::Parameter(int32_t index) {}

Node* GraphTest::Parameter(Type type, int32_t index) {}

Node* GraphTest::Float32Constant(float value) {}


Node* GraphTest::Float64Constant(double value) {}


Node* GraphTest::Int32Constant(int32_t value) {}


Node* GraphTest::Int64Constant(int64_t value) {}


Node* GraphTest::NumberConstant(double value) {}

Node* GraphTest::HeapConstantNoHole(const Handle<HeapObject>& value) {}

Node* GraphTest::HeapConstantHole(const Handle<HeapObject>& value) {}

Node* GraphTest::FalseConstant() {}


Node* GraphTest::TrueConstant() {}


Node* GraphTest::UndefinedConstant() {}


Node* GraphTest::EmptyFrameState() {}


Matcher<Node*> GraphTest::IsFalseConstant() {}


Matcher<Node*> GraphTest::IsTrueConstant() {}

Matcher<Node*> GraphTest::IsNullConstant() {}

Matcher<Node*> GraphTest::IsUndefinedConstant() {}

TypedGraphTest::TypedGraphTest(int num_parameters)
    :{}

TypedGraphTest::~TypedGraphTest() = default;

namespace graph_unittest {

const Operator kDummyOperator(0, Operator::kNoProperties, "Dummy", 0, 0, 0, 1,
                              0, 0);


TEST_F(GraphTest, NewNode) {}

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