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

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: Rebase Created 4 years, 11 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.cc ('k') | src/compiler/escape-analysis-reducer.cc » ('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/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 17 matching lines...) Expand all
28 28
29 Reduction Reduce(Node* node) final; 29 Reduction Reduce(Node* node) final;
30 30
31 private: 31 private:
32 Reduction ReduceLoad(Node* node); 32 Reduction ReduceLoad(Node* node);
33 Reduction ReduceStore(Node* node); 33 Reduction ReduceStore(Node* node);
34 Reduction ReduceAllocate(Node* node); 34 Reduction ReduceAllocate(Node* node);
35 Reduction ReduceFinishRegion(Node* node); 35 Reduction ReduceFinishRegion(Node* node);
36 Reduction ReduceReferenceEqual(Node* node); 36 Reduction ReduceReferenceEqual(Node* node);
37 Reduction ReduceObjectIsSmi(Node* node); 37 Reduction ReduceObjectIsSmi(Node* node);
38 38 Reduction ReduceFrameStateUses(Node* node);
39 Reduction ReplaceWithDeoptDummy(Node* node); 39 Node* ReduceFrameState(Node* node, Node* effect, bool multiple_users);
40 Node* ReduceStateValueInputs(Node* node, Node* effect, bool multiple_users);
41 Node* ReduceStateValueInput(Node* node, int node_index, Node* effect,
42 bool multiple_users);
40 43
41 JSGraph* jsgraph() const { return jsgraph_; } 44 JSGraph* jsgraph() const { return jsgraph_; }
42 EscapeAnalysis* escape_analysis() const { return escape_analysis_; } 45 EscapeAnalysis* escape_analysis() const { return escape_analysis_; }
43 Zone* zone() const { return zone_; } 46 Zone* zone() const { return zone_; }
44 Counters* counters() const; 47 Counters* counters() const;
45 48
46 JSGraph* const jsgraph_; 49 JSGraph* const jsgraph_;
47 EscapeAnalysis* escape_analysis_; 50 EscapeAnalysis* escape_analysis_;
48 Zone* const zone_; 51 Zone* const zone_;
49 52
50 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer); 53 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer);
51 }; 54 };
52 55
53 } // namespace compiler 56 } // namespace compiler
54 } // namespace internal 57 } // namespace internal
55 } // namespace v8 58 } // namespace v8
56 59
57 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ 60 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_
OLDNEW
« no previous file with comments | « src/compiler/escape-analysis.cc ('k') | src/compiler/escape-analysis-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698