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

Side by Side Diff: src/compiler/effect-control-linearizer.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/dead-code-elimination.h ('k') | src/compiler/escape-analysis.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 2016 the V8 project authors. All rights reserved. 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 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_EFFECT_CONTROL_LINEARIZER_H_ 5 #ifndef V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 6 #define V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/node.h" 9 #include "src/compiler/node.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
11 #include "src/globals.h"
11 12
12 namespace v8 { 13 namespace v8 {
13 namespace internal { 14 namespace internal {
14 15
15 // Forward declarations. 16 // Forward declarations.
16 class Callable; 17 class Callable;
17 class Zone; 18 class Zone;
18 19
19 namespace compiler { 20 namespace compiler {
20 21
21 class CommonOperatorBuilder; 22 class CommonOperatorBuilder;
22 class SimplifiedOperatorBuilder; 23 class SimplifiedOperatorBuilder;
23 class MachineOperatorBuilder; 24 class MachineOperatorBuilder;
24 class JSGraph; 25 class JSGraph;
25 class Graph; 26 class Graph;
26 class Schedule; 27 class Schedule;
27 28
28 class EffectControlLinearizer { 29 class V8_EXPORT_PRIVATE EffectControlLinearizer {
29 public: 30 public:
30 EffectControlLinearizer(JSGraph* graph, Schedule* schedule, Zone* temp_zone); 31 EffectControlLinearizer(JSGraph* graph, Schedule* schedule, Zone* temp_zone);
31 32
32 void Run(); 33 void Run();
33 34
34 private: 35 private:
35 void ProcessNode(Node* node, Node** frame_state, Node** effect, 36 void ProcessNode(Node* node, Node** frame_state, Node** effect,
36 Node** control); 37 Node** control);
37 38
38 struct ValueEffectControl { 39 struct ValueEffectControl {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 RegionObservability region_observability_ = RegionObservability::kObservable; 220 RegionObservability region_observability_ = RegionObservability::kObservable;
220 221
221 SetOncePointer<Operator const> to_number_operator_; 222 SetOncePointer<Operator const> to_number_operator_;
222 }; 223 };
223 224
224 } // namespace compiler 225 } // namespace compiler
225 } // namespace internal 226 } // namespace internal
226 } // namespace v8 227 } // namespace v8
227 228
228 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_ 229 #endif // V8_COMPILER_EFFECT_CONTROL_LINEARIZER_H_
OLDNEW
« no previous file with comments | « src/compiler/dead-code-elimination.h ('k') | src/compiler/escape-analysis.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698