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

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

Issue 2397753003: Revert of [turbofan] inline %StringIteratorPrototype%.next in JSBuiltinReducer. (Closed)
Patch Set: 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 | « src/compiler/simplified-lowering.cc ('k') | src/compiler/simplified-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_SIMPLIFIED_OPERATOR_H_ 5 #ifndef V8_COMPILER_SIMPLIFIED_OPERATOR_H_
6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_ 6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/compiler/operator.h" 10 #include "src/compiler/operator.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 size_t hash_value(NumberOperationHint); 179 size_t hash_value(NumberOperationHint);
180 180
181 std::ostream& operator<<(std::ostream&, NumberOperationHint); 181 std::ostream& operator<<(std::ostream&, NumberOperationHint);
182 182
183 NumberOperationHint NumberOperationHintOf(const Operator* op) 183 NumberOperationHint NumberOperationHintOf(const Operator* op)
184 WARN_UNUSED_RESULT; 184 WARN_UNUSED_RESULT;
185 185
186 PretenureFlag PretenureFlagOf(const Operator* op) WARN_UNUSED_RESULT; 186 PretenureFlag PretenureFlagOf(const Operator* op) WARN_UNUSED_RESULT;
187 187
188 UnicodeEncoding UnicodeEncodingOf(const Operator*) WARN_UNUSED_RESULT;
189
190 // Interface for building simplified operators, which represent the 188 // Interface for building simplified operators, which represent the
191 // medium-level operations of V8, including adding numbers, allocating objects, 189 // medium-level operations of V8, including adding numbers, allocating objects,
192 // indexing into objects and arrays, etc. 190 // indexing into objects and arrays, etc.
193 // All operators are typed but many are representation independent. 191 // All operators are typed but many are representation independent.
194 192
195 // Number values from JS can be in one of these representations: 193 // Number values from JS can be in one of these representations:
196 // - Tagged: word-sized integer that is either 194 // - Tagged: word-sized integer that is either
197 // - a signed small integer (31 or 32 bits plus a tag) 195 // - a signed small integer (31 or 32 bits plus a tag)
198 // - a tagged pointer to a HeapNumber object that has a float64 field 196 // - a tagged pointer to a HeapNumber object that has a float64 field
199 // - Int32: an untagged signed 32-bit integer 197 // - Int32: an untagged signed 32-bit integer
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 const Operator* SpeculativeNumberLessThanOrEqual(NumberOperationHint hint); 282 const Operator* SpeculativeNumberLessThanOrEqual(NumberOperationHint hint);
285 const Operator* SpeculativeNumberEqual(NumberOperationHint hint); 283 const Operator* SpeculativeNumberEqual(NumberOperationHint hint);
286 284
287 const Operator* ReferenceEqual(); 285 const Operator* ReferenceEqual();
288 286
289 const Operator* StringEqual(); 287 const Operator* StringEqual();
290 const Operator* StringLessThan(); 288 const Operator* StringLessThan();
291 const Operator* StringLessThanOrEqual(); 289 const Operator* StringLessThanOrEqual();
292 const Operator* StringCharCodeAt(); 290 const Operator* StringCharCodeAt();
293 const Operator* StringFromCharCode(); 291 const Operator* StringFromCharCode();
294 const Operator* StringFromCodePoint(UnicodeEncoding encoding);
295 292
296 const Operator* PlainPrimitiveToNumber(); 293 const Operator* PlainPrimitiveToNumber();
297 const Operator* PlainPrimitiveToWord32(); 294 const Operator* PlainPrimitiveToWord32();
298 const Operator* PlainPrimitiveToFloat64(); 295 const Operator* PlainPrimitiveToFloat64();
299 296
300 const Operator* ChangeTaggedSignedToInt32(); 297 const Operator* ChangeTaggedSignedToInt32();
301 const Operator* ChangeTaggedToInt32(); 298 const Operator* ChangeTaggedToInt32();
302 const Operator* ChangeTaggedToUint32(); 299 const Operator* ChangeTaggedToUint32();
303 const Operator* ChangeTaggedToFloat64(); 300 const Operator* ChangeTaggedToFloat64();
304 const Operator* ChangeInt31ToTaggedSigned(); 301 const Operator* ChangeInt31ToTaggedSigned();
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 Zone* const zone_; 387 Zone* const zone_;
391 388
392 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); 389 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder);
393 }; 390 };
394 391
395 } // namespace compiler 392 } // namespace compiler
396 } // namespace internal 393 } // namespace internal
397 } // namespace v8 394 } // namespace v8
398 395
399 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ 396 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/compiler/simplified-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698