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

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: 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 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 14 matching lines...) Expand all
25 EscapeObjectAnalysis* escape_analysis, Zone* zone); 25 EscapeObjectAnalysis* escape_analysis, Zone* zone);
26 26
27 Reduction Reduce(Node* node) final; 27 Reduction Reduce(Node* node) final;
28 28
29 private: 29 private:
30 Reduction ReduceLoadField(Node* node); 30 Reduction ReduceLoadField(Node* node);
31 Reduction ReduceStoreField(Node* node); 31 Reduction ReduceStoreField(Node* node);
32 Reduction ReduceAllocate(Node* node); 32 Reduction ReduceAllocate(Node* node);
33 Reduction ReduceFinishRegion(Node* node); 33 Reduction ReduceFinishRegion(Node* node);
34 Reduction ReduceReferenceEqual(Node* node); 34 Reduction ReduceReferenceEqual(Node* node);
35 Reduction ReduceStateValueInputs(Node* node);
35 36
36 Reduction ReplaceWithDeoptDummy(Node* node); 37 Node* GetEffectFromFrameState(Node* node);
38
39 void CreateObjectState(Node* effect, Node* node);
40
41 void RemoveFromEffectChain(Node* node);
37 42
38 JSGraph* jsgraph() const { return jsgraph_; } 43 JSGraph* jsgraph() const { return jsgraph_; }
39 EscapeObjectAnalysis* escape_analysis() const { return escape_analysis_; } 44 EscapeObjectAnalysis* escape_analysis() const { return escape_analysis_; }
40 EscapeStatusAnalysis* escape_status() const { return escape_status_; } 45 EscapeStatusAnalysis* escape_status() const { return escape_status_; }
41 Zone* zone() const { return zone_; } 46 Zone* zone() const { return zone_; }
42 47
43 JSGraph* const jsgraph_; 48 JSGraph* const jsgraph_;
44 EscapeStatusAnalysis* escape_status_; 49 EscapeStatusAnalysis* escape_status_;
45 EscapeObjectAnalysis* escape_analysis_; 50 EscapeObjectAnalysis* escape_analysis_;
46 Zone* const zone_; 51 Zone* const zone_;
47 52
48 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer); 53 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer);
49 }; 54 };
50 55
51 } // namespace compiler 56 } // namespace compiler
52 } // namespace internal 57 } // namespace internal
53 } // namespace v8 58 } // namespace v8
54 59
55 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ 60 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698