Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: src/compiler/liveness-analyzer.h

Issue 2416243002: Make unittests work in component build (Closed)
Patch Set: updates Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/linkage.h ('k') | src/compiler/load-elimination.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_LIVENESS_ANAYZER_H_ 5 #ifndef V8_COMPILER_LIVENESS_ANAYZER_H_
6 #define V8_COMPILER_LIVENESS_ANAYZER_H_ 6 #define V8_COMPILER_LIVENESS_ANAYZER_H_
7 7
8 #include "src/bit-vector.h" 8 #include "src/bit-vector.h"
9 #include "src/compiler/node.h" 9 #include "src/compiler/node.h"
10 #include "src/globals.h"
10 #include "src/zone/zone-containers.h" 11 #include "src/zone/zone-containers.h"
11 12
12 namespace v8 { 13 namespace v8 {
13 namespace internal { 14 namespace internal {
14 namespace compiler { 15 namespace compiler {
15 16
16 class LivenessAnalyzerBlock; 17 class LivenessAnalyzerBlock;
17 class Node; 18 class Node;
18 class StateValuesCache; 19 class StateValuesCache;
19 20
(...skipping 23 matching lines...) Expand all
43 Node* replacement_node_; 44 Node* replacement_node_;
44 // Reference to state values cache so that we can create state values 45 // Reference to state values cache so that we can create state values
45 // nodes. 46 // nodes.
46 StateValuesCache* state_values_cache_; 47 StateValuesCache* state_values_cache_;
47 48
48 Zone* local_zone_; 49 Zone* local_zone_;
49 BitVector permanently_live_; 50 BitVector permanently_live_;
50 NodeVector inputs_buffer_; 51 NodeVector inputs_buffer_;
51 }; 52 };
52 53
53 54 class V8_EXPORT_PRIVATE LivenessAnalyzer {
54 class LivenessAnalyzer {
55 public: 55 public:
56 LivenessAnalyzer(size_t local_count, Zone* zone); 56 LivenessAnalyzer(size_t local_count, Zone* zone);
57 57
58 LivenessAnalyzerBlock* NewBlock(); 58 LivenessAnalyzerBlock* NewBlock();
59 LivenessAnalyzerBlock* NewBlock(LivenessAnalyzerBlock* predecessor); 59 LivenessAnalyzerBlock* NewBlock(LivenessAnalyzerBlock* predecessor);
60 60
61 void Run(NonLiveFrameStateSlotReplacer* relaxer); 61 void Run(NonLiveFrameStateSlotReplacer* relaxer);
62 62
63 Zone* zone() { return zone_; } 63 Zone* zone() { return zone_; }
64 64
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 size_t id_; 142 size_t id_;
143 }; 143 };
144 144
145 145
146 } // namespace compiler 146 } // namespace compiler
147 } // namespace internal 147 } // namespace internal
148 } // namespace v8 148 } // namespace v8
149 149
150 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_ 150 #endif // V8_COMPILER_AST_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/linkage.h ('k') | src/compiler/load-elimination.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698