| 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 | |
| 442 // Exception handling support. | 432 // Exception handling support. |
| 443 void GotoIfException(Node* node, Label* if_exception, | 433 void GotoIfException(Node* node, Label* if_exception, |
| 444 Variable* exception_var = nullptr); | 434 Variable* exception_var = nullptr); |
| 445 | 435 |
| 446 // Helpers which delegate to RawMachineAssembler. | 436 // Helpers which delegate to RawMachineAssembler. |
| 447 Factory* factory() const; | 437 Factory* factory() const; |
| 448 Isolate* isolate() const; | 438 Isolate* isolate() const; |
| 449 Zone* zone() const; | 439 Zone* zone() const; |
| 450 | 440 |
| 451 CodeAssemblerState* state() { return state_; } | 441 CodeAssemblerState* state() { return state_; } |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 CodeAssemblerCallback call_epilogue_; | 592 CodeAssemblerCallback call_epilogue_; |
| 603 | 593 |
| 604 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); | 594 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); |
| 605 }; | 595 }; |
| 606 | 596 |
| 607 } // namespace compiler | 597 } // namespace compiler |
| 608 } // namespace internal | 598 } // namespace internal |
| 609 } // namespace v8 | 599 } // namespace v8 |
| 610 | 600 |
| 611 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 601 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
| OLD | NEW |