chromium/v8/test/unittests/compiler/js-operator-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 "src/compiler/js-operator.h"
#include "src/compiler/opcodes.h"
#include "src/compiler/operator.h"
#include "src/compiler/operator-properties.h"
#include "test/unittests/test-utils.h"

namespace v8 {
namespace internal {
namespace compiler {
namespace js_operator_unittest {

// -----------------------------------------------------------------------------
// Shared operators.

namespace {

struct SharedOperator {};

const SharedOperator kSharedOperators[] =;


std::ostream& operator<<(std::ostream& os, const SharedOperator& sop) {}

class JSSharedOperatorTest
    : public TestWithZone,
      public ::testing::WithParamInterface<SharedOperator> {};


TEST_P(JSSharedOperatorTest, InstancesAreGloballyShared) {}


TEST_P(JSSharedOperatorTest, NumberOfInputsAndOutputs) {}


TEST_P(JSSharedOperatorTest, OpcodeIsCorrect) {}


TEST_P(JSSharedOperatorTest, Properties) {}

INSTANTIATE_TEST_SUITE_P();

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