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

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

Issue 2257393002: [compiler] Delete unused variable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 27 matching lines...) Expand all
38 38
39 InductionVariable(Node* phi, Node* arith, Node* increment, Node* init_value, 39 InductionVariable(Node* phi, Node* arith, Node* increment, Node* init_value,
40 Zone* zone) 40 Zone* zone)
41 : phi_(phi), 41 : phi_(phi),
42 arith_(arith), 42 arith_(arith),
43 increment_(increment), 43 increment_(increment),
44 init_value_(init_value), 44 init_value_(init_value),
45 lower_bounds_(zone), 45 lower_bounds_(zone),
46 upper_bounds_(zone) {} 46 upper_bounds_(zone) {}
47 47
48 void AddUpperBound(Node* bound, ConstraintKind kind, Zone* graph_zone); 48 void AddUpperBound(Node* bound, ConstraintKind kind);
49 void AddLowerBound(Node* bound, ConstraintKind kind, Zone* graph_zone); 49 void AddLowerBound(Node* bound, ConstraintKind kind);
50 50
51 Node* phi_; 51 Node* phi_;
52 Node* arith_; 52 Node* arith_;
53 Node* increment_; 53 Node* increment_;
54 Node* init_value_; 54 Node* init_value_;
55 ZoneVector<Bound> lower_bounds_; 55 ZoneVector<Bound> lower_bounds_;
56 ZoneVector<Bound> upper_bounds_; 56 ZoneVector<Bound> upper_bounds_;
57 }; 57 };
58 58
59 class LoopVariableOptimizer { 59 class LoopVariableOptimizer {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 Zone* zone_; 103 Zone* zone_;
104 ZoneMap<int, const VariableLimits*> limits_; 104 ZoneMap<int, const VariableLimits*> limits_;
105 ZoneMap<int, InductionVariable*> induction_vars_; 105 ZoneMap<int, InductionVariable*> induction_vars_;
106 }; 106 };
107 107
108 } // namespace compiler 108 } // namespace compiler
109 } // namespace internal 109 } // namespace internal
110 } // namespace v8 110 } // namespace v8
111 111
112 #endif // V8_COMPILER_LOOP_VARIABLE_OPTIMIZER_H_ 112 #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