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

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

Issue 2030323002: Print MachineTypes when using --trace-turbo-graph. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Polish Created 4 years, 6 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/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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/frame-states.h" 9 #include "src/compiler/frame-states.h"
10 #include "src/machine-type.h" 10 #include "src/machine-type.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 RelocInfo::Mode rmode_; 129 RelocInfo::Mode rmode_;
130 Type type_; 130 Type type_;
131 }; 131 };
132 132
133 bool operator==(RelocatablePtrConstantInfo const& lhs, 133 bool operator==(RelocatablePtrConstantInfo const& lhs,
134 RelocatablePtrConstantInfo const& rhs); 134 RelocatablePtrConstantInfo const& rhs);
135 bool operator!=(RelocatablePtrConstantInfo const& lhs, 135 bool operator!=(RelocatablePtrConstantInfo const& lhs,
136 RelocatablePtrConstantInfo const& rhs); 136 RelocatablePtrConstantInfo const& rhs);
137 std::ostream& operator<<(std::ostream&, RelocatablePtrConstantInfo const&); 137 std::ostream& operator<<(std::ostream&, RelocatablePtrConstantInfo const&);
138 size_t hash_value(RelocatablePtrConstantInfo const& p); 138 size_t hash_value(RelocatablePtrConstantInfo const& p);
139 std::ostream& operator<<(std::ostream& os,
140 const ZoneVector<MachineType>* types);
139 141
140 // Interface for building common operators that can be used at any level of IR, 142 // Interface for building common operators that can be used at any level of IR,
141 // including JavaScript, mid-level, and low-level. 143 // including JavaScript, mid-level, and low-level.
142 class CommonOperatorBuilder final : public ZoneObject { 144 class CommonOperatorBuilder final : public ZoneObject {
143 public: 145 public:
144 explicit CommonOperatorBuilder(Zone* zone); 146 explicit CommonOperatorBuilder(Zone* zone);
145 147
146 const Operator* Dead(); 148 const Operator* Dead();
147 const Operator* End(size_t control_input_count); 149 const Operator* End(size_t control_input_count);
148 const Operator* Branch(BranchHint = BranchHint::kNone); 150 const Operator* Branch(BranchHint = BranchHint::kNone);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 Zone* const zone_; 217 Zone* const zone_;
216 218
217 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 219 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
218 }; 220 };
219 221
220 } // namespace compiler 222 } // namespace compiler
221 } // namespace internal 223 } // namespace internal
222 } // namespace v8 224 } // namespace v8
223 225
224 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 226 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/common-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698