OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_CODE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ |
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ | 6 #define V8_COMPILER_CODE_ASSEMBLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 Node* function, Node* arg0, Node* arg1, Node* arg2); | 422 Node* function, Node* arg0, Node* arg1, Node* arg2); |
423 | 423 |
424 // Call to a C function with six arguments. | 424 // Call to a C function with six arguments. |
425 Node* CallCFunction6(MachineType return_type, MachineType arg0_type, | 425 Node* CallCFunction6(MachineType return_type, MachineType arg0_type, |
426 MachineType arg1_type, MachineType arg2_type, | 426 MachineType arg1_type, MachineType arg2_type, |
427 MachineType arg3_type, MachineType arg4_type, | 427 MachineType arg3_type, MachineType arg4_type, |
428 MachineType arg5_type, Node* function, Node* arg0, | 428 MachineType arg5_type, Node* function, Node* arg0, |
429 Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 429 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
430 Node* arg5); | 430 Node* arg5); |
431 | 431 |
| 432 // Call to a C function with nine arguments. |
| 433 Node* CallCFunction9(MachineType return_type, MachineType arg0_type, |
| 434 MachineType arg1_type, MachineType arg2_type, |
| 435 MachineType arg3_type, MachineType arg4_type, |
| 436 MachineType arg5_type, MachineType arg6_type, |
| 437 MachineType arg7_type, MachineType arg8_type, |
| 438 Node* function, Node* arg0, Node* arg1, Node* arg2, |
| 439 Node* arg3, Node* arg4, Node* arg5, Node* arg6, |
| 440 Node* arg7, Node* arg8); |
| 441 |
432 // Exception handling support. | 442 // Exception handling support. |
433 void GotoIfException(Node* node, Label* if_exception, | 443 void GotoIfException(Node* node, Label* if_exception, |
434 Variable* exception_var = nullptr); | 444 Variable* exception_var = nullptr); |
435 | 445 |
436 // Helpers which delegate to RawMachineAssembler. | 446 // Helpers which delegate to RawMachineAssembler. |
437 Factory* factory() const; | 447 Factory* factory() const; |
438 Isolate* isolate() const; | 448 Isolate* isolate() const; |
439 Zone* zone() const; | 449 Zone* zone() const; |
440 | 450 |
441 CodeAssemblerState* state() { return state_; } | 451 CodeAssemblerState* state() { return state_; } |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 CodeAssemblerCallback call_epilogue_; | 602 CodeAssemblerCallback call_epilogue_; |
593 | 603 |
594 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); | 604 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); |
595 }; | 605 }; |
596 | 606 |
597 } // namespace compiler | 607 } // namespace compiler |
598 } // namespace internal | 608 } // namespace internal |
599 } // namespace v8 | 609 } // namespace v8 |
600 | 610 |
601 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 611 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |