| 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 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 size_t case_count); | 762 size_t case_count); |
| 763 void Return(Node* value); | 763 void Return(Node* value); |
| 764 void Return(Node* v1, Node* v2); | 764 void Return(Node* v1, Node* v2); |
| 765 void Return(Node* v1, Node* v2, Node* v3); | 765 void Return(Node* v1, Node* v2, Node* v3); |
| 766 void PopAndReturn(Node* pop, Node* value); | 766 void PopAndReturn(Node* pop, Node* value); |
| 767 void PopAndReturn(Node* pop, Node* v1, Node* v2); | 767 void PopAndReturn(Node* pop, Node* v1, Node* v2); |
| 768 void PopAndReturn(Node* pop, Node* v1, Node* v2, Node* v3); | 768 void PopAndReturn(Node* pop, Node* v1, Node* v2, Node* v3); |
| 769 void Bind(RawMachineLabel* label); | 769 void Bind(RawMachineLabel* label); |
| 770 void Deoptimize(Node* state); | 770 void Deoptimize(Node* state); |
| 771 void DebugBreak(); | 771 void DebugBreak(); |
| 772 void Unreachable(); |
| 772 void Comment(const char* msg); | 773 void Comment(const char* msg); |
| 773 | 774 |
| 774 // Add success / exception successor blocks and ends the current block ending | 775 // Add success / exception successor blocks and ends the current block ending |
| 775 // in a potentially throwing call node. | 776 // in a potentially throwing call node. |
| 776 void Continuations(Node* call, RawMachineLabel* if_success, | 777 void Continuations(Node* call, RawMachineLabel* if_success, |
| 777 RawMachineLabel* if_exception); | 778 RawMachineLabel* if_exception); |
| 778 | 779 |
| 779 // Variables. | 780 // Variables. |
| 780 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2) { | 781 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2) { |
| 781 return AddNode(common()->Phi(rep, 2), n1, n2, graph()->start()); | 782 return AddNode(common()->Phi(rep, 2), n1, n2, graph()->start()); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 bool deferred_; | 843 bool deferred_; |
| 843 friend class RawMachineAssembler; | 844 friend class RawMachineAssembler; |
| 844 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 845 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
| 845 }; | 846 }; |
| 846 | 847 |
| 847 } // namespace compiler | 848 } // namespace compiler |
| 848 } // namespace internal | 849 } // namespace internal |
| 849 } // namespace v8 | 850 } // namespace v8 |
| 850 | 851 |
| 851 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 852 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |