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

Side by Side Diff: src/compiler/code-stub-assembler.h

Issue 1880413002: Revert of [stubs] Introduce LeftShift, SignedRightShift and UnsignedRightShift stubs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/code-stubs.cc ('k') | src/compiler/code-stub-assembler.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_STUB_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_STUB_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 // Clients of this interface shouldn't depend on lots of compiler internals. 10 // Clients of this interface shouldn't depend on lots of compiler internals.
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 template <typename T> 382 template <typename T>
383 Node* BitFieldDecode(Node* word32) { 383 Node* BitFieldDecode(Node* word32) {
384 return BitFieldDecode(word32, T::kShift, T::kMask); 384 return BitFieldDecode(word32, T::kShift, T::kMask);
385 } 385 }
386 386
387 Node* BitFieldDecode(Node* word32, uint32_t shift, uint32_t mask); 387 Node* BitFieldDecode(Node* word32, uint32_t shift, uint32_t mask);
388 388
389 // Conversions. 389 // Conversions.
390 Node* ChangeFloat64ToTagged(Node* value); 390 Node* ChangeFloat64ToTagged(Node* value);
391 Node* ChangeInt32ToTagged(Node* value); 391 Node* ChangeInt32ToTagged(Node* value);
392 Node* ChangeUint32ToTagged(Node* value);
393 Node* TruncateTaggedToFloat64(Node* context, Node* value); 392 Node* TruncateTaggedToFloat64(Node* context, Node* value);
394 Node* TruncateTaggedToWord32(Node* context, Node* value); 393 Node* TruncateTaggedToWord32(Node* context, Node* value);
395 // Truncate to int32 using JavaScript truncation mode. 394 // Truncate to int32 using JavaScript truncation mode.
396 Node* TruncateFloat64ToInt32(Node* value); 395 Node* TruncateFloat64ToInt32(Node* value);
397 396
398 // Type conversions. 397 // Type conversions.
399 // Throws a TypeError for {method_name} if {value} is not coercible to Object, 398 // Throws a TypeError for {method_name} if {value} is not coercible to Object,
400 // or returns the {value} converted to a String otherwise. 399 // or returns the {value} converted to a String otherwise.
401 Node* ToThisString(Node* context, Node* value, char const* method_name); 400 Node* ToThisString(Node* context, Node* value, char const* method_name);
402 401
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 // Map of variables to the list of value nodes that have been added from each 505 // Map of variables to the list of value nodes that have been added from each
507 // merge path in their order of merging. 506 // merge path in their order of merging.
508 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 507 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
509 }; 508 };
510 509
511 } // namespace compiler 510 } // namespace compiler
512 } // namespace internal 511 } // namespace internal
513 } // namespace v8 512 } // namespace v8
514 513
515 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_ 514 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698