v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
checkpoint-elimination.h
Go to the documentation of this file.
1// Copyright 2016 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_CHECKPOINT_ELIMINATION_H_
6#define V8_COMPILER_CHECKPOINT_ELIMINATION_H_
7
10
11namespace v8 {
12namespace internal {
13namespace compiler {
14
15// Performs elimination of redundant checkpoints within the graph.
17 : public NON_EXPORTED_BASE(AdvancedReducer) {
18 public:
19 explicit CheckpointElimination(Editor* editor);
20 ~CheckpointElimination() final = default;
21
22 const char* reducer_name() const override { return "CheckpointElimination"; }
23
24 Reduction Reduce(Node* node) final;
25
26 private:
27 Reduction ReduceCheckpoint(Node* node);
28};
29
30} // namespace compiler
31} // namespace internal
32} // namespace v8
33
34#endif // V8_COMPILER_CHECKPOINT_ELIMINATION_H_
#define NON_EXPORTED_BASE(code)
#define V8_EXPORT_PRIVATE
Definition macros.h:460