v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-in-js-inlining-phase.cc
Go to the documentation of this file.
1// Copyright 2024 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
6
11
13
15 UnparkedScopeIfNeeded scope(data->broker(), DEBUG_BOOL);
16
17 // We need the `WasmLoweringReducer` for lowering, e.g., `global.get` etc.
18 // TODO(dlehmann,353475584): Add Wasm GC (typed) optimizations also, see
19 // `WasmGCTypedOptimizationReducer`.
20 // This might need a separate phase due to the analysis in the input graph,
21 // which is expensive, which is why we should enable this only conditionally.
23 temp_zone);
24}
25
26} // namespace v8::internal::compiler::turboshaft
static void Run(PipelineData *data, Zone *phase_zone)
#define DEBUG_BOOL
Definition globals.h:87