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

Side by Side Diff: src/compiler/escape-analysis-reducer.h

Issue 1485183002: [turbofan] Deopt support for escape analysis (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@ea-local
Patch Set: Fix --always-opt triggered bug Created 5 years 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
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/compiler/escape-analysis.h" 8 #include "src/compiler/escape-analysis.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 10
(...skipping 11 matching lines...) Expand all
22 EscapeAnalysis* escape_analysis, Zone* zone); 22 EscapeAnalysis* escape_analysis, Zone* zone);
23 23
24 Reduction Reduce(Node* node) final; 24 Reduction Reduce(Node* node) final;
25 25
26 private: 26 private:
27 Reduction ReduceLoadField(Node* node); 27 Reduction ReduceLoadField(Node* node);
28 Reduction ReduceStoreField(Node* node); 28 Reduction ReduceStoreField(Node* node);
29 Reduction ReduceAllocate(Node* node); 29 Reduction ReduceAllocate(Node* node);
30 Reduction ReduceFinishRegion(Node* node); 30 Reduction ReduceFinishRegion(Node* node);
31 Reduction ReduceReferenceEqual(Node* node); 31 Reduction ReduceReferenceEqual(Node* node);
32 32 Reduction ReduceStateValueInputs(Node* node);
33 Reduction ReplaceWithDeoptDummy(Node* node);
34 33
35 JSGraph* jsgraph() const { return jsgraph_; } 34 JSGraph* jsgraph() const { return jsgraph_; }
36 EscapeAnalysis* escape_analysis() const { return escape_analysis_; } 35 EscapeAnalysis* escape_analysis() const { return escape_analysis_; }
37 Zone* zone() const { return zone_; } 36 Zone* zone() const { return zone_; }
38 37
39 JSGraph* const jsgraph_; 38 JSGraph* const jsgraph_;
40 EscapeAnalysis* escape_analysis_; 39 EscapeAnalysis* escape_analysis_;
41 Zone* const zone_; 40 Zone* const zone_;
42 41
43 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer); 42 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer);
44 }; 43 };
45 44
46 } // namespace compiler 45 } // namespace compiler
47 } // namespace internal 46 } // namespace internal
48 } // namespace v8 47 } // namespace v8
49 48
50 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ 49 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698