OLD | NEW |
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_RAW_MACHINE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 } | 462 } |
463 Node* Float64LessThanOrEqual(Node* a, Node* b) { | 463 Node* Float64LessThanOrEqual(Node* a, Node* b) { |
464 return AddNode(machine()->Float64LessThanOrEqual(), a, b); | 464 return AddNode(machine()->Float64LessThanOrEqual(), a, b); |
465 } | 465 } |
466 Node* Float64GreaterThan(Node* a, Node* b) { return Float64LessThan(b, a); } | 466 Node* Float64GreaterThan(Node* a, Node* b) { return Float64LessThan(b, a); } |
467 Node* Float64GreaterThanOrEqual(Node* a, Node* b) { | 467 Node* Float64GreaterThanOrEqual(Node* a, Node* b) { |
468 return Float64LessThanOrEqual(b, a); | 468 return Float64LessThanOrEqual(b, a); |
469 } | 469 } |
470 | 470 |
471 // Conversions. | 471 // Conversions. |
| 472 Node* BitcastWordToTagged(Node* a) { |
| 473 return AddNode(machine()->BitcastWordToTagged(), a); |
| 474 } |
472 Node* ChangeFloat32ToFloat64(Node* a) { | 475 Node* ChangeFloat32ToFloat64(Node* a) { |
473 return AddNode(machine()->ChangeFloat32ToFloat64(), a); | 476 return AddNode(machine()->ChangeFloat32ToFloat64(), a); |
474 } | 477 } |
475 Node* ChangeInt32ToFloat64(Node* a) { | 478 Node* ChangeInt32ToFloat64(Node* a) { |
476 return AddNode(machine()->ChangeInt32ToFloat64(), a); | 479 return AddNode(machine()->ChangeInt32ToFloat64(), a); |
477 } | 480 } |
478 Node* ChangeUint32ToFloat64(Node* a) { | 481 Node* ChangeUint32ToFloat64(Node* a) { |
479 return AddNode(machine()->ChangeUint32ToFloat64(), a); | 482 return AddNode(machine()->ChangeUint32ToFloat64(), a); |
480 } | 483 } |
481 Node* ChangeFloat64ToInt32(Node* a) { | 484 Node* ChangeFloat64ToInt32(Node* a) { |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 bool deferred_; | 755 bool deferred_; |
753 friend class RawMachineAssembler; | 756 friend class RawMachineAssembler; |
754 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 757 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
755 }; | 758 }; |
756 | 759 |
757 } // namespace compiler | 760 } // namespace compiler |
758 } // namespace internal | 761 } // namespace internal |
759 } // namespace v8 | 762 } // namespace v8 |
760 | 763 |
761 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 764 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |