#if !V8_ENABLE_WEBASSEMBLY
#error This header should only be included if WebAssembly is enabled.
#endif
#ifndef V8_WASM_PGO_H_
#define V8_WASM_PGO_H_
#include <vector>
#include "src/base/vector.h"
namespace v8::internal::wasm {
struct WasmModule;
class ProfileInformation { … };
void DumpProfileToFile(const WasmModule* module,
base::Vector<const uint8_t> wire_bytes,
std::atomic<uint32_t>* tiering_budget_array);
V8_WARN_UNUSED_RESULT std::unique_ptr<ProfileInformation> LoadProfileFromFile(
const WasmModule* module, base::Vector<const uint8_t> wire_bytes);
}
#endif