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_H_ | 5 #ifndef V8_COMPILER_ESCAPE_ANALYSIS_H_ |
6 #define V8_COMPILER_ESCAPE_ANALYSIS_H_ | 6 #define V8_COMPILER_ESCAPE_ANALYSIS_H_ |
7 | 7 |
8 #include "src/compiler/graph.h" | 8 #include "src/compiler/graph.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 bool ExistsVirtualAllocate(); | 38 bool ExistsVirtualAllocate(); |
39 bool SetReplacement(Node* node, Node* rep); | 39 bool SetReplacement(Node* node, Node* rep); |
40 | 40 |
41 private: | 41 private: |
42 void RunObjectAnalysis(); | 42 void RunObjectAnalysis(); |
43 bool Process(Node* node); | 43 bool Process(Node* node); |
44 void ProcessLoadField(Node* node); | 44 void ProcessLoadField(Node* node); |
45 void ProcessStoreField(Node* node); | 45 void ProcessStoreField(Node* node); |
46 void ProcessLoadElement(Node* node); | 46 void ProcessLoadElement(Node* node); |
47 void ProcessStoreElement(Node* node); | 47 void ProcessStoreElement(Node* node); |
| 48 void ProcessCheckMaps(Node* node); |
48 void ProcessAllocationUsers(Node* node); | 49 void ProcessAllocationUsers(Node* node); |
49 void ProcessAllocation(Node* node); | 50 void ProcessAllocation(Node* node); |
50 void ProcessFinishRegion(Node* node); | 51 void ProcessFinishRegion(Node* node); |
51 void ProcessCall(Node* node); | 52 void ProcessCall(Node* node); |
52 void ProcessStart(Node* node); | 53 void ProcessStart(Node* node); |
53 bool ProcessEffectPhi(Node* node); | 54 bool ProcessEffectPhi(Node* node); |
54 void ProcessLoadFromPhi(int offset, Node* from, Node* node, | 55 void ProcessLoadFromPhi(int offset, Node* from, Node* node, |
55 VirtualState* states); | 56 VirtualState* states); |
56 | 57 |
57 void ForwardVirtualState(Node* node); | 58 void ForwardVirtualState(Node* node); |
(...skipping 23 matching lines...) Expand all Loading... |
81 MergeCache* cache_; | 82 MergeCache* cache_; |
82 | 83 |
83 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysis); | 84 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysis); |
84 }; | 85 }; |
85 | 86 |
86 } // namespace compiler | 87 } // namespace compiler |
87 } // namespace internal | 88 } // namespace internal |
88 } // namespace v8 | 89 } // namespace v8 |
89 | 90 |
90 #endif // V8_COMPILER_ESCAPE_ANALYSIS_H_ | 91 #endif // V8_COMPILER_ESCAPE_ANALYSIS_H_ |
OLD | NEW |