v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-gc-optimize-phase.cc
Go to the documentation of this file.
1
// Copyright 2023 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
#include "
src/compiler/turboshaft/wasm-gc-optimize-phase.h
"
6
7
#include "
src/compiler/js-heap-broker.h
"
8
#include "
src/compiler/turboshaft/copying-phase.h
"
9
#include "
src/compiler/turboshaft/phase.h
"
10
#include "
src/compiler/turboshaft/wasm-gc-typed-optimization-reducer.h
"
11
#include "
src/compiler/turboshaft/wasm-load-elimination-reducer.h
"
12
13
namespace
v8::internal::compiler::turboshaft
{
14
15
void
WasmGCOptimizePhase::Run
(
PipelineData
* data,
Zone
* temp_zone) {
16
UnparkedScopeIfNeeded
scope(data->broker(),
17
v8_flags
.turboshaft_trace_reduction);
18
CopyingPhase<WasmLoadEliminationReducer, WasmGCTypedOptimizationReducer>::Run
(
19
data, temp_zone);
20
}
21
22
}
// namespace v8::internal::compiler::turboshaft
v8::internal::Zone
Definition
zone.h:43
v8::internal::compiler::UnparkedScopeIfNeeded
Definition
js-heap-broker.h:548
v8::internal::compiler::turboshaft::CopyingPhase::Run
static void Run(PipelineData *data, Zone *phase_zone)
Definition
copying-phase.h:1067
v8::internal::compiler::turboshaft::PipelineData
Definition
phase.h:177
copying-phase.h
js-heap-broker.h
v8::internal::compiler::turboshaft
Definition
builtins.h:33
v8::internal::v8_flags
V8_EXPORT_PRIVATE FlagValues v8_flags
v8::internal::compiler::turboshaft::WasmGCOptimizePhase::Run
void Run(PipelineData *data, Zone *temp_zone)
Definition
wasm-gc-optimize-phase.cc:15
phase.h
wasm-gc-optimize-phase.h
wasm-gc-typed-optimization-reducer.h
wasm-load-elimination-reducer.h
src
compiler
turboshaft
wasm-gc-optimize-phase.cc
Generated on Sun Apr 6 2025 21:08:53 for v8 by
1.12.0