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

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

Issue 2000733002: [turbofan] Unify escape analysis offset calculation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo. Created 4 years, 7 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/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
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
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_
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