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

Side by Side Diff: src/compiler/escape-analysis-reducer.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/escape-analysis.h ('k') | src/compiler/graph.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_ESCAPE_ANALYSIS_REDUCER_H_ 5 #ifndef V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
6 #define V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ 6 #define V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
7 7
8 #include "src/base/compiler-specific.h"
8 #include "src/bit-vector.h" 9 #include "src/bit-vector.h"
9 #include "src/compiler/escape-analysis.h" 10 #include "src/compiler/escape-analysis.h"
10 #include "src/compiler/graph-reducer.h" 11 #include "src/compiler/graph-reducer.h"
12 #include "src/globals.h"
11 13
12 namespace v8 { 14 namespace v8 {
13 namespace internal { 15 namespace internal {
14 namespace compiler { 16 namespace compiler {
15 17
16 // Forward declarations. 18 // Forward declarations.
17 class JSGraph; 19 class JSGraph;
18 20
19 class EscapeAnalysisReducer final : public AdvancedReducer { 21 class V8_EXPORT_PRIVATE EscapeAnalysisReducer final
22 : public NON_EXPORTED_BASE(AdvancedReducer) {
20 public: 23 public:
21 EscapeAnalysisReducer(Editor* editor, JSGraph* jsgraph, 24 EscapeAnalysisReducer(Editor* editor, JSGraph* jsgraph,
22 EscapeAnalysis* escape_analysis, Zone* zone); 25 EscapeAnalysis* escape_analysis, Zone* zone);
23 26
24 Reduction Reduce(Node* node) final; 27 Reduction Reduce(Node* node) final;
25 28
26 // Verifies that all virtual allocation nodes have been dealt with. Run it 29 // Verifies that all virtual allocation nodes have been dealt with. Run it
27 // after this reducer has been applied. Has no effect in release mode. 30 // after this reducer has been applied. Has no effect in release mode.
28 void VerifyReplacement() const; 31 void VerifyReplacement() const;
29 32
(...skipping 24 matching lines...) Expand all
54 bool exists_virtual_allocate_; 57 bool exists_virtual_allocate_;
55 58
56 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer); 59 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer);
57 }; 60 };
58 61
59 } // namespace compiler 62 } // namespace compiler
60 } // namespace internal 63 } // namespace internal
61 } // namespace v8 64 } // namespace v8
62 65
63 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ 66 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
OLDNEW
« no previous file with comments | « src/compiler/escape-analysis.h ('k') | src/compiler/graph.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698