v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-dead-code-elimination-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
6
17
19
21 UnparkedScopeIfNeeded scope(data->broker(), DEBUG_BOOL);
22
23 // The value numbering ensures that load with similar patterns in the complex
24 // loads can share those calculations.
27 // We make sure that DuplicationOptimizationReducer runs after
28 // LoadStoreSimplificationReducer, so that it can optimize
29 // Loads/Stores produced by LoadStoreSimplificationReducer
30 // (which, for simplificy, doesn't use the Assembler helper
31 // methods, but only calls Next::ReduceLoad/Store).
34 ValueNumberingReducer>::Run(data, temp_zone);
35}
36
37} // namespace v8::internal::compiler::turboshaft
#define DEBUG_BOOL
Definition globals.h:87