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

Side by Side Diff: src/compiler/loop-variable-optimizer.h

Issue 2274053002: [turbofan] Change map to vector in loop variable analysis. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 3 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/loop-variable-optimizer.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_LOOP_VARIABLE_OPTIMIZER_H_ 5 #ifndef V8_COMPILER_LOOP_VARIABLE_OPTIMIZER_H_
6 #define V8_COMPILER_LOOP_VARIABLE_OPTIMIZER_H_ 6 #define V8_COMPILER_LOOP_VARIABLE_OPTIMIZER_H_
7 7
8 #include "src/zone-containers.h" 8 #include "src/zone-containers.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 InductionVariable* TryGetInductionVariable(Node* phi); 99 InductionVariable* TryGetInductionVariable(Node* phi);
100 void DetectInductionVariables(Node* loop); 100 void DetectInductionVariables(Node* loop);
101 101
102 Graph* graph() { return graph_; } 102 Graph* graph() { return graph_; }
103 CommonOperatorBuilder* common() { return common_; } 103 CommonOperatorBuilder* common() { return common_; }
104 Zone* zone() { return zone_; } 104 Zone* zone() { return zone_; }
105 105
106 Graph* graph_; 106 Graph* graph_;
107 CommonOperatorBuilder* common_; 107 CommonOperatorBuilder* common_;
108 Zone* zone_; 108 Zone* zone_;
109 ZoneMap<int, const VariableLimits*> limits_; 109 ZoneVector<const VariableLimits*> limits_;
110 ZoneMap<int, InductionVariable*> induction_vars_; 110 ZoneMap<int, InductionVariable*> induction_vars_;
111 }; 111 };
112 112
113 } // namespace compiler 113 } // namespace compiler
114 } // namespace internal 114 } // namespace internal
115 } // namespace v8 115 } // namespace v8
116 116
117 #endif // V8_COMPILER_LOOP_VARIABLE_OPTIMIZER_H_ 117 #endif // V8_COMPILER_LOOP_VARIABLE_OPTIMIZER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/loop-variable-optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698