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

Side by Side Diff: src/compiler/escape-analysis.h

Issue 1654163003: [turbofan] Delay initialization in escape analysis (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make --trace-turbo-escape a proper debug flag Created 4 years, 10 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 | « no previous file | src/compiler/escape-analysis.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_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/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph.h" 9 #include "src/compiler/graph.h"
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 bool ProcessEffectPhi(Node* node); 142 bool ProcessEffectPhi(Node* node);
143 void ProcessLoadFromPhi(int offset, Node* from, Node* node, 143 void ProcessLoadFromPhi(int offset, Node* from, Node* node,
144 VirtualState* states); 144 VirtualState* states);
145 145
146 void ForwardVirtualState(Node* node); 146 void ForwardVirtualState(Node* node);
147 int OffsetFromAccess(Node* node); 147 int OffsetFromAccess(Node* node);
148 VirtualState* CopyForModificationAt(VirtualState* state, Node* node); 148 VirtualState* CopyForModificationAt(VirtualState* state, Node* node);
149 VirtualObject* CopyForModificationAt(VirtualObject* obj, VirtualState* state, 149 VirtualObject* CopyForModificationAt(VirtualObject* obj, VirtualState* state,
150 Node* node); 150 Node* node);
151 VirtualObject* GetVirtualObject(Node* at, NodeId id); 151 VirtualObject* GetVirtualObject(Node* at, NodeId id);
152 VirtualObject* ResolveVirtualObject(VirtualState* state, Node* node);
153 Node* GetReplacementIfSame(ZoneVector<VirtualObject*>& objs);
154 152
155 bool SetEscaped(Node* node); 153 bool SetEscaped(Node* node);
156 Node* replacement(NodeId id); 154 Node* replacement(NodeId id);
157 Node* replacement(Node* node); 155 Node* replacement(Node* node);
158 Node* ResolveReplacement(Node* node); 156 Node* ResolveReplacement(Node* node);
159 Node* GetReplacement(NodeId id); 157 Node* GetReplacement(NodeId id);
160 bool SetReplacement(Node* node, Node* rep); 158 bool SetReplacement(Node* node, Node* rep);
161 bool UpdateReplacement(VirtualState* state, Node* node, Node* rep); 159 bool UpdateReplacement(VirtualState* state, Node* node, Node* rep);
162 160
163 VirtualObject* GetVirtualObject(VirtualState* state, Node* node); 161 VirtualObject* GetVirtualObject(VirtualState* state, Node* node);
(...skipping 24 matching lines...) Expand all
188 MergeCache* cache_; 186 MergeCache* cache_;
189 187
190 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysis); 188 DISALLOW_COPY_AND_ASSIGN(EscapeAnalysis);
191 }; 189 };
192 190
193 } // namespace compiler 191 } // namespace compiler
194 } // namespace internal 192 } // namespace internal
195 } // namespace v8 193 } // namespace v8
196 194
197 #endif // V8_COMPILER_ESCAPE_ANALYSIS_H_ 195 #endif // V8_COMPILER_ESCAPE_ANALYSIS_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/escape-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698