| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 } | 431 } |
| 432 Node* ChangeUint32ToFloat64(Node* a) { | 432 Node* ChangeUint32ToFloat64(Node* a) { |
| 433 return AddNode(machine()->ChangeUint32ToFloat64(), a); | 433 return AddNode(machine()->ChangeUint32ToFloat64(), a); |
| 434 } | 434 } |
| 435 Node* ChangeFloat64ToInt32(Node* a) { | 435 Node* ChangeFloat64ToInt32(Node* a) { |
| 436 return AddNode(machine()->ChangeFloat64ToInt32(), a); | 436 return AddNode(machine()->ChangeFloat64ToInt32(), a); |
| 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) { |
| 442 return AddNode(machine()->TruncateFloat32ToInt64(), a); |
| 443 } |
| 441 Node* TruncateFloat64ToInt64(Node* a) { | 444 Node* TruncateFloat64ToInt64(Node* a) { |
| 442 return AddNode(machine()->TruncateFloat64ToInt64(), a); | 445 return AddNode(machine()->TruncateFloat64ToInt64(), a); |
| 443 } | 446 } |
| 444 Node* TruncateFloat64ToUint64(Node* a) { | 447 Node* TruncateFloat64ToUint64(Node* a) { |
| 445 return AddNode(machine()->TruncateFloat64ToUint64(), a); | 448 return AddNode(machine()->TruncateFloat64ToUint64(), a); |
| 446 } | 449 } |
| 447 Node* ChangeInt32ToInt64(Node* a) { | 450 Node* ChangeInt32ToInt64(Node* a) { |
| 448 return AddNode(machine()->ChangeInt32ToInt64(), a); | 451 return AddNode(machine()->ChangeInt32ToInt64(), a); |
| 449 } | 452 } |
| 450 Node* ChangeUint32ToUint64(Node* a) { | 453 Node* ChangeUint32ToUint64(Node* a) { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 BasicBlock* current_block_; | 644 BasicBlock* current_block_; |
| 642 | 645 |
| 643 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 646 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
| 644 }; | 647 }; |
| 645 | 648 |
| 646 } // namespace compiler | 649 } // namespace compiler |
| 647 } // namespace internal | 650 } // namespace internal |
| 648 } // namespace v8 | 651 } // namespace v8 |
| 649 | 652 |
| 650 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 653 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |