#ifndef V8_COMPILER_MEMORY_OPTIMIZER_H_
#define V8_COMPILER_MEMORY_OPTIMIZER_H_
#include "src/compiler/graph-assembler.h"
#include "src/compiler/memory-lowering.h"
#include "src/zone/zone-containers.h"
#ifdef V8_ENABLE_WEBASSEMBLY
#include "src/compiler/wasm-address-reassociation.h"
#else
namespace v8 {
namespace internal {
namespace compiler {
class V8_EXPORT_PRIVATE WasmAddressReassociation final {
public:
WasmAddressReassociation(JSGraph* jsgraph, Zone* zone) {}
void Optimize() {}
void VisitProtectedMemOp(Node* node, uint32_t effect_chain) {}
};
}
}
}
#endif
namespace v8 {
namespace internal {
class TickCounter;
namespace compiler {
class JSGraph;
class Graph;
NodeId;
class MemoryOptimizer final { … };
}
}
}
#endif