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 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 void ProcessAllocationUsers(Node* node); | 44 void ProcessAllocationUsers(Node* node); |
45 void ProcessAllocation(Node* node); | 45 void ProcessAllocation(Node* node); |
46 void ProcessFinishRegion(Node* node); | 46 void ProcessFinishRegion(Node* node); |
47 void ProcessCall(Node* node); | 47 void ProcessCall(Node* node); |
48 void ProcessStart(Node* node); | 48 void ProcessStart(Node* node); |
49 bool ProcessEffectPhi(Node* node); | 49 bool ProcessEffectPhi(Node* node); |
50 void ProcessLoadFromPhi(int offset, Node* from, Node* node, | 50 void ProcessLoadFromPhi(int offset, Node* from, Node* node, |
51 VirtualState* states); | 51 VirtualState* states); |
52 | 52 |
53 void ForwardVirtualState(Node* node); | 53 void ForwardVirtualState(Node* node); |
54 int OffsetFromAccess(Node* node); | |
55 VirtualState* CopyForModificationAt(VirtualState* state, Node* node); | 54 VirtualState* CopyForModificationAt(VirtualState* state, Node* node); |
56 VirtualObject* CopyForModificationAt(VirtualObject* obj, VirtualState* state, | 55 VirtualObject* CopyForModificationAt(VirtualObject* obj, VirtualState* state, |
57 Node* node); | 56 Node* node); |
58 | 57 |
59 Node* replacement(Node* node); | 58 Node* replacement(Node* node); |
60 Node* ResolveReplacement(Node* node); | 59 Node* ResolveReplacement(Node* node); |
61 bool SetReplacement(Node* node, Node* rep); | 60 bool SetReplacement(Node* node, Node* rep); |
62 bool UpdateReplacement(VirtualState* state, Node* node, Node* rep); | 61 bool UpdateReplacement(VirtualState* state, Node* node, Node* rep); |
63 | 62 |
64 VirtualObject* GetVirtualObject(VirtualState* state, Node* node); | 63 VirtualObject* GetVirtualObject(VirtualState* state, Node* node); |
(...skipping 13 matching lines...) Expand all Loading... |
78 MergeCache* cache_; | 77 MergeCache* cache_; |
79 | 78 |
80 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysis); | 79 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysis); |
81 }; | 80 }; |
82 | 81 |
83 } // namespace compiler | 82 } // namespace compiler |
84 } // namespace internal | 83 } // namespace internal |
85 } // namespace v8 | 84 } // namespace v8 |
86 | 85 |
87 #endif // V8_COMPILER_ESCAPE_ANALYSIS_H_ | 86 #endif // V8_COMPILER_ESCAPE_ANALYSIS_H_ |
OLD | NEW |