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

Side by Side Diff: src/compiler/common-operator.h

Issue 851263002: [turbofan] Initial attempt to cleanup Node and related classes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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 | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/common-operator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMMON_OPERATOR_H_ 5 #ifndef V8_COMPILER_COMMON_OPERATOR_H_
6 #define V8_COMPILER_COMMON_OPERATOR_H_ 6 #define V8_COMPILER_COMMON_OPERATOR_H_
7 7
8 #include "src/compiler/machine-type.h" 8 #include "src/compiler/machine-type.h"
9 #include "src/unique.h" 9 #include "src/unique.h"
10 10
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 }; 146 };
147 147
148 bool operator==(FrameStateCallInfo const&, FrameStateCallInfo const&); 148 bool operator==(FrameStateCallInfo const&, FrameStateCallInfo const&);
149 bool operator!=(FrameStateCallInfo const&, FrameStateCallInfo const&); 149 bool operator!=(FrameStateCallInfo const&, FrameStateCallInfo const&);
150 150
151 size_t hash_value(FrameStateCallInfo const&); 151 size_t hash_value(FrameStateCallInfo const&);
152 152
153 std::ostream& operator<<(std::ostream&, FrameStateCallInfo const&); 153 std::ostream& operator<<(std::ostream&, FrameStateCallInfo const&);
154 154
155 155
156 size_t ProjectionIndexOf(const Operator* const);
157
158
156 // Interface for building common operators that can be used at any level of IR, 159 // Interface for building common operators that can be used at any level of IR,
157 // including JavaScript, mid-level, and low-level. 160 // including JavaScript, mid-level, and low-level.
158 class CommonOperatorBuilder FINAL : public ZoneObject { 161 class CommonOperatorBuilder FINAL : public ZoneObject {
159 public: 162 public:
160 explicit CommonOperatorBuilder(Zone* zone); 163 explicit CommonOperatorBuilder(Zone* zone);
161 164
162 const Operator* Dead(); 165 const Operator* Dead();
163 const Operator* End(); 166 const Operator* End();
164 const Operator* Branch(BranchHint = BranchHint::kNone); 167 const Operator* Branch(BranchHint = BranchHint::kNone);
165 const Operator* IfTrue(); 168 const Operator* IfTrue();
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 Zone* const zone_; 208 Zone* const zone_;
206 209
207 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 210 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
208 }; 211 };
209 212
210 } // namespace compiler 213 } // namespace compiler
211 } // namespace internal 214 } // namespace internal
212 } // namespace v8 215 } // namespace v8
213 216
214 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 217 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/common-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698