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

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

Issue 2425983002: [turbofan] Use uint32 to store the number of control outputs instead of uint16. (Closed)
Patch Set: Increase the maximum number of control outputs instead. Created 4 years, 2 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/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_OPERATOR_H_ 5 #ifndef V8_COMPILER_OPERATOR_H_
6 #define V8_COMPILER_OPERATOR_H_ 6 #define V8_COMPILER_OPERATOR_H_
7 7
8 #include <ostream> // NOLINT(readability/streams) 8 #include <ostream> // NOLINT(readability/streams)
9 9
10 #include "src/base/compiler-specific.h" 10 #include "src/base/compiler-specific.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 private: 138 private:
139 Opcode opcode_; 139 Opcode opcode_;
140 Properties properties_; 140 Properties properties_;
141 const char* mnemonic_; 141 const char* mnemonic_;
142 uint32_t value_in_; 142 uint32_t value_in_;
143 uint16_t effect_in_; 143 uint16_t effect_in_;
144 uint16_t control_in_; 144 uint16_t control_in_;
145 uint16_t value_out_; 145 uint16_t value_out_;
146 uint8_t effect_out_; 146 uint8_t effect_out_;
147 uint16_t control_out_; 147 uint32_t control_out_;
148 148
149 DISALLOW_COPY_AND_ASSIGN(Operator); 149 DISALLOW_COPY_AND_ASSIGN(Operator);
150 }; 150 };
151 151
152 DEFINE_OPERATORS_FOR_FLAGS(Operator::Properties) 152 DEFINE_OPERATORS_FOR_FLAGS(Operator::Properties)
153 153
154 std::ostream& operator<<(std::ostream& os, const Operator& op); 154 std::ostream& operator<<(std::ostream& os, const Operator& op);
155 155
156 156
157 // Default equality function for below Operator1<*> class. 157 // Default equality function for below Operator1<*> class.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 template <> 246 template <>
247 struct OpEqualTo<Handle<ScopeInfo>> : public Handle<ScopeInfo>::equal_to {}; 247 struct OpEqualTo<Handle<ScopeInfo>> : public Handle<ScopeInfo>::equal_to {};
248 template <> 248 template <>
249 struct OpHash<Handle<ScopeInfo>> : public Handle<ScopeInfo>::hash {}; 249 struct OpHash<Handle<ScopeInfo>> : public Handle<ScopeInfo>::hash {};
250 250
251 } // namespace compiler 251 } // namespace compiler
252 } // namespace internal 252 } // namespace internal
253 } // namespace v8 253 } // namespace v8
254 254
255 #endif // V8_COMPILER_OPERATOR_H_ 255 #endif // V8_COMPILER_OPERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698