| 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 } | 463 } |
| 464 Node* ChangeUint32ToFloat64(Node* a) { | 464 Node* ChangeUint32ToFloat64(Node* a) { |
| 465 return AddNode(machine()->ChangeUint32ToFloat64(), a); | 465 return AddNode(machine()->ChangeUint32ToFloat64(), a); |
| 466 } | 466 } |
| 467 Node* ChangeFloat64ToInt32(Node* a) { | 467 Node* ChangeFloat64ToInt32(Node* a) { |
| 468 return AddNode(machine()->ChangeFloat64ToInt32(), a); | 468 return AddNode(machine()->ChangeFloat64ToInt32(), a); |
| 469 } | 469 } |
| 470 Node* ChangeFloat64ToUint32(Node* a) { | 470 Node* ChangeFloat64ToUint32(Node* a) { |
| 471 return AddNode(machine()->ChangeFloat64ToUint32(), a); | 471 return AddNode(machine()->ChangeFloat64ToUint32(), a); |
| 472 } | 472 } |
| 473 Node* TruncateFloat64ToUint32(Node* a) { |
| 474 return AddNode(machine()->TruncateFloat64ToUint32(), a); |
| 475 } |
| 473 Node* TruncateFloat32ToInt32(Node* a) { | 476 Node* TruncateFloat32ToInt32(Node* a) { |
| 474 return AddNode(machine()->TruncateFloat32ToInt32(), a); | 477 return AddNode(machine()->TruncateFloat32ToInt32(), a); |
| 475 } | 478 } |
| 476 Node* TruncateFloat32ToUint32(Node* a) { | 479 Node* TruncateFloat32ToUint32(Node* a) { |
| 477 return AddNode(machine()->TruncateFloat32ToUint32(), a); | 480 return AddNode(machine()->TruncateFloat32ToUint32(), a); |
| 478 } | 481 } |
| 479 Node* TryTruncateFloat32ToInt64(Node* a) { | 482 Node* TryTruncateFloat32ToInt64(Node* a) { |
| 480 return AddNode(machine()->TryTruncateFloat32ToInt64(), a); | 483 return AddNode(machine()->TryTruncateFloat32ToInt64(), a); |
| 481 } | 484 } |
| 482 Node* TryTruncateFloat64ToInt64(Node* a) { | 485 Node* TryTruncateFloat64ToInt64(Node* a) { |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 bool deferred_; | 738 bool deferred_; |
| 736 friend class RawMachineAssembler; | 739 friend class RawMachineAssembler; |
| 737 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 740 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
| 738 }; | 741 }; |
| 739 | 742 |
| 740 } // namespace compiler | 743 } // namespace compiler |
| 741 } // namespace internal | 744 } // namespace internal |
| 742 } // namespace v8 | 745 } // namespace v8 |
| 743 | 746 |
| 744 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 747 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |