chromium/v8/test/unittests/asmjs/asm-types-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/asmjs/asm-types.h"

#include <unordered_map>
#include <unordered_set>

#include "src/base/macros.h"
#include "test/unittests/test-utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace internal {
namespace wasm {
namespace {

StrEq;

class AsmTypeTest : public TestWithZone {};

// AsmValueTypeParents expose the bitmasks for the parents for each value type
// in asm's type system. It inherits from AsmValueType so that the kAsm<Foo>
// members are available when expanding the FOR_EACH_ASM_VALUE_TYPE_LIST macro.
class AsmValueTypeParents : private AsmValueType {};

TEST_F(AsmTypeTest, ValidateBits) {}

TEST_F(AsmTypeTest, SensibleParentsMap) {}

TEST_F(AsmTypeTest, Names) {}

TEST_F(AsmTypeTest, IsExactly) {}

bool FunctionsWithSameSignature(AsmType* a, AsmType* b) {}

TEST_F(AsmTypeTest, IsA) {}

TEST_F(AsmTypeTest, CanBeInvokedWith) {}

TEST_F(AsmTypeTest, ElementSizeInBytes) {}

TEST_F(AsmTypeTest, LoadType) {}

TEST_F(AsmTypeTest, StoreType) {}

}  // namespace
}  // namespace wasm
}  // namespace internal
}  // namespace v8