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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 } | 652 } |
653 Node* Float64ExtractHighWord32(Node* a) { | 653 Node* Float64ExtractHighWord32(Node* a) { |
654 return AddNode(machine()->Float64ExtractHighWord32(), a); | 654 return AddNode(machine()->Float64ExtractHighWord32(), a); |
655 } | 655 } |
656 Node* Float64InsertLowWord32(Node* a, Node* b) { | 656 Node* Float64InsertLowWord32(Node* a, Node* b) { |
657 return AddNode(machine()->Float64InsertLowWord32(), a, b); | 657 return AddNode(machine()->Float64InsertLowWord32(), a, b); |
658 } | 658 } |
659 Node* Float64InsertHighWord32(Node* a, Node* b) { | 659 Node* Float64InsertHighWord32(Node* a, Node* b) { |
660 return AddNode(machine()->Float64InsertHighWord32(), a, b); | 660 return AddNode(machine()->Float64InsertHighWord32(), a, b); |
661 } | 661 } |
| 662 Node* Float64SilenceNaN(Node* a) { |
| 663 return AddNode(machine()->Float64SilenceNaN(), a); |
| 664 } |
662 | 665 |
663 // Stack operations. | 666 // Stack operations. |
664 Node* LoadStackPointer() { return AddNode(machine()->LoadStackPointer()); } | 667 Node* LoadStackPointer() { return AddNode(machine()->LoadStackPointer()); } |
665 Node* LoadFramePointer() { return AddNode(machine()->LoadFramePointer()); } | 668 Node* LoadFramePointer() { return AddNode(machine()->LoadFramePointer()); } |
666 Node* LoadParentFramePointer() { | 669 Node* LoadParentFramePointer() { |
667 return AddNode(machine()->LoadParentFramePointer()); | 670 return AddNode(machine()->LoadParentFramePointer()); |
668 } | 671 } |
669 | 672 |
670 // Parameters. | 673 // Parameters. |
671 Node* Parameter(size_t index); | 674 Node* Parameter(size_t index); |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 bool deferred_; | 843 bool deferred_; |
841 friend class RawMachineAssembler; | 844 friend class RawMachineAssembler; |
842 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 845 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
843 }; | 846 }; |
844 | 847 |
845 } // namespace compiler | 848 } // namespace compiler |
846 } // namespace internal | 849 } // namespace internal |
847 } // namespace v8 | 850 } // namespace v8 |
848 | 851 |
849 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 852 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |