| 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 } | 437 } |
| 438 Node* ChangeFloat64ToUint32(Node* a) { | 438 Node* ChangeFloat64ToUint32(Node* a) { |
| 439 return AddNode(machine()->ChangeFloat64ToUint32(), a); | 439 return AddNode(machine()->ChangeFloat64ToUint32(), a); |
| 440 } | 440 } |
| 441 Node* TruncateFloat32ToInt64(Node* a) { | 441 Node* TruncateFloat32ToInt64(Node* a) { |
| 442 return AddNode(machine()->TruncateFloat32ToInt64(), a); | 442 return AddNode(machine()->TruncateFloat32ToInt64(), a); |
| 443 } | 443 } |
| 444 Node* TruncateFloat64ToInt64(Node* a) { | 444 Node* TruncateFloat64ToInt64(Node* a) { |
| 445 return AddNode(machine()->TruncateFloat64ToInt64(), a); | 445 return AddNode(machine()->TruncateFloat64ToInt64(), a); |
| 446 } | 446 } |
| 447 Node* TruncateFloat32ToUint64(Node* a) { |
| 448 return AddNode(machine()->TruncateFloat32ToUint64(), a); |
| 449 } |
| 447 Node* TruncateFloat64ToUint64(Node* a) { | 450 Node* TruncateFloat64ToUint64(Node* a) { |
| 448 return AddNode(machine()->TruncateFloat64ToUint64(), a); | 451 return AddNode(machine()->TruncateFloat64ToUint64(), a); |
| 449 } | 452 } |
| 450 Node* ChangeInt32ToInt64(Node* a) { | 453 Node* ChangeInt32ToInt64(Node* a) { |
| 451 return AddNode(machine()->ChangeInt32ToInt64(), a); | 454 return AddNode(machine()->ChangeInt32ToInt64(), a); |
| 452 } | 455 } |
| 453 Node* ChangeUint32ToUint64(Node* a) { | 456 Node* ChangeUint32ToUint64(Node* a) { |
| 454 return AddNode(machine()->ChangeUint32ToUint64(), a); | 457 return AddNode(machine()->ChangeUint32ToUint64(), a); |
| 455 } | 458 } |
| 456 Node* TruncateFloat64ToFloat32(Node* a) { | 459 Node* TruncateFloat64ToFloat32(Node* a) { |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 BasicBlock* current_block_; | 647 BasicBlock* current_block_; |
| 645 | 648 |
| 646 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 649 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
| 647 }; | 650 }; |
| 648 | 651 |
| 649 } // namespace compiler | 652 } // namespace compiler |
| 650 } // namespace internal | 653 } // namespace internal |
| 651 } // namespace v8 | 654 } // namespace v8 |
| 652 | 655 |
| 653 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 656 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |