// Copyright 2017 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.#ifndef V8_MEMORY_TRACING_H#define V8_MEMORY_TRACING_H#include <cstdint>#include "src/machine-type.h"namespacev8{namespaceinternal{namespacetracing{enumExecutionEngine{kWasmCompiled,kWasmInterpreted};// Callback for tracing a memory operation for debugging.// Triggered by --wasm-trace-memory.voidTraceMemoryOperation(ExecutionEngine,boolis_store,MachineRepresentation,uint32_taddr,intfunc_index,intposition,uint8_t*mem_start);}// namespace tracing}// namespace internal}// namespace v8#endif /* !V8_MEMORY_TRACING_H */