| 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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 // Call a given call descriptor and the given arguments. | 562 // Call a given call descriptor and the given arguments. |
| 563 Node* CallN(CallDescriptor* desc, Node* function, Node** args); | 563 Node* CallN(CallDescriptor* desc, Node* function, Node** args); |
| 564 // Call a given call descriptor and the given arguments and frame-state. | 564 // Call a given call descriptor and the given arguments and frame-state. |
| 565 Node* CallNWithFrameState(CallDescriptor* desc, Node* function, Node** args, | 565 Node* CallNWithFrameState(CallDescriptor* desc, Node* function, Node** args, |
| 566 Node* frame_state); | 566 Node* frame_state); |
| 567 // Call to a runtime function with one arguments. | 567 // Call to a runtime function with one arguments. |
| 568 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context); | 568 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context); |
| 569 // Call to a runtime function with two arguments. | 569 // Call to a runtime function with two arguments. |
| 570 Node* CallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, | 570 Node* CallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 571 Node* context); | 571 Node* context); |
| 572 // Call to a runtime function with three arguments. |
| 573 Node* CallRuntime3(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 574 Node* arg3, Node* context); |
| 572 // Call to a runtime function with four arguments. | 575 // Call to a runtime function with four arguments. |
| 573 Node* CallRuntime4(Runtime::FunctionId function, Node* arg1, Node* arg2, | 576 Node* CallRuntime4(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 574 Node* arg3, Node* arg4, Node* context); | 577 Node* arg3, Node* arg4, Node* context); |
| 575 // Call to a C function with zero arguments. | 578 // Call to a C function with zero arguments. |
| 576 Node* CallCFunction0(MachineType return_type, Node* function); | 579 Node* CallCFunction0(MachineType return_type, Node* function); |
| 577 // Call to a C function with one parameter. | 580 // Call to a C function with one parameter. |
| 578 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, | 581 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, |
| 579 Node* function, Node* arg0); | 582 Node* function, Node* arg0); |
| 580 // Call to a C function with two arguments. | 583 // Call to a C function with two arguments. |
| 581 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, | 584 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 bool bound_; | 683 bool bound_; |
| 681 friend class RawMachineAssembler; | 684 friend class RawMachineAssembler; |
| 682 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 685 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
| 683 }; | 686 }; |
| 684 | 687 |
| 685 } // namespace compiler | 688 } // namespace compiler |
| 686 } // namespace internal | 689 } // namespace internal |
| 687 } // namespace v8 | 690 } // namespace v8 |
| 688 | 691 |
| 689 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 692 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |