v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-debug-memory-lowering-phase.h
Go to the documentation of this file.
1
// Copyright 2025 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_COMPILER_TURBOSHAFT_WASM_DEBUG_MEMORY_LOWERING_PHASE_H_
6
#define V8_COMPILER_TURBOSHAFT_WASM_DEBUG_MEMORY_LOWERING_PHASE_H_
7
8
#if !V8_ENABLE_WEBASSEMBLY
9
#error This header should only be included if WebAssembly is enabled.
10
#endif
// !V8_ENABLE_WEBASSEMBLY
11
12
#ifdef DEBUG
13
#include "
src/compiler/turboshaft/phase.h
"
14
15
namespace
v8::internal::compiler::turboshaft
{
16
17
// Extra phase to allow running the wasm Turboshaft pipeline without
18
// optimizations (--no-wasm-opt) which is currently the
19
// MemoryOptimizationReducer. Normally this reducer runs as part of the
20
// WasmOptimizePhase.
21
struct
WasmDebugMemoryLoweringPhase {
22
DECL_TURBOSHAFT_PHASE_CONSTANTS
(WasmDebugMemoryLowering)
23
24
void
Run(PipelineData* data,
Zone
* temp_zone);
25
};
26
27
}
// namespace v8::internal::compiler::turboshaft
28
29
#endif
// DEBUG
30
#endif
// V8_COMPILER_TURBOSHAFT_WASM_DEBUG_MEMORY_LOWERING_PHASE_H_
Zone
friend Zone
Definition
asm-types.cc:195
v8::internal::compiler::turboshaft
Definition
builtins.h:33
phase.h
DECL_TURBOSHAFT_PHASE_CONSTANTS
#define DECL_TURBOSHAFT_PHASE_CONSTANTS(Name)
Definition
phase.h:39
src
compiler
turboshaft
wasm-debug-memory-lowering-phase.h
Generated on Sun Apr 6 2025 21:08:53 for v8 by
1.12.0