| 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 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 Reduction Reduce(Node* node) final; | 24 Reduction Reduce(Node* node) final; |
| 25 | 25 |
| 26 private: | 26 private: |
| 27 Reduction ReduceLoad(Node* node); | 27 Reduction ReduceLoad(Node* node); |
| 28 Reduction ReduceStore(Node* node); | 28 Reduction ReduceStore(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 Reduction ReduceObjectIsSmi(Node* node); | 32 Reduction ReduceObjectIsSmi(Node* node); |
| 33 | 33 Reduction ReduceFrameStateUses(Node* node); |
| 34 Reduction ReplaceWithDeoptDummy(Node* node); | 34 Node* ReduceFrameState(Node* node, Node* effect, bool multiple_users); |
| 35 Node* ReduceStateValueInputs(Node* node, Node* effect, bool multiple_users); |
| 36 Node* ReduceStateValueInput(Node* node, int node_index, Node* effect, |
| 37 bool multiple_users); |
| 35 | 38 |
| 36 JSGraph* jsgraph() const { return jsgraph_; } | 39 JSGraph* jsgraph() const { return jsgraph_; } |
| 37 EscapeAnalysis* escape_analysis() const { return escape_analysis_; } | 40 EscapeAnalysis* escape_analysis() const { return escape_analysis_; } |
| 38 Zone* zone() const { return zone_; } | 41 Zone* zone() const { return zone_; } |
| 39 | 42 |
| 40 JSGraph* const jsgraph_; | 43 JSGraph* const jsgraph_; |
| 41 EscapeAnalysis* escape_analysis_; | 44 EscapeAnalysis* escape_analysis_; |
| 42 Zone* const zone_; | 45 Zone* const zone_; |
| 43 | 46 |
| 44 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer); | 47 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysisReducer); |
| 45 }; | 48 }; |
| 46 | 49 |
| 47 } // namespace compiler | 50 } // namespace compiler |
| 48 } // namespace internal | 51 } // namespace internal |
| 49 } // namespace v8 | 52 } // namespace v8 |
| 50 | 53 |
| 51 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ | 54 #endif // V8_COMPILER_ESCAPE_ANALYSIS_REDUCER_H_ |
| OLD | NEW |