| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |