#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 { … };
}
#define RUN_COMPILE(name) …
#define COMPILE_TEST(name) …
class MetricsRecorder : public v8::metrics::Recorder { … };
COMPILE_TEST(TestEventMetrics) { … }
}
}
}