chromium/v8/test/cctest/wasm/test-wasm-metrics.cc

// Copyright 2020 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 <memory>

#include "include/libplatform/libplatform.h"
#include "include/v8-metrics.h"
#include "include/v8-platform.h"
#include "src/api/api-inl.h"
#include "src/base/platform/time.h"
#include "src/wasm/wasm-engine.h"
#include "src/wasm/wasm-module-builder.h"
#include "test/cctest/cctest.h"
#include "test/common/wasm/flag-utils.h"
#include "test/common/wasm/test-signatures.h"
#include "test/common/wasm/wasm-macro-gen.h"
#include "test/common/wasm/wasm-module-runner.h"

namespace v8 {
namespace internal {
namespace wasm {

namespace {

class MockPlatform final : public TestPlatform {};

enum class CompilationStatus {};

class TestInstantiateResolver : public InstantiationResultResolver {};

class TestCompileResolver : public CompilationResultResolver {};

}  // namespace

#define RUN_COMPILE(name)

#define COMPILE_TEST(name)

class MetricsRecorder : public v8::metrics::Recorder {};

COMPILE_TEST(TestEventMetrics) {}

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