| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 | 427 |
| 428 Node* TailCallBytecodeDispatch(const CallInterfaceDescriptor& descriptor, | 428 Node* TailCallBytecodeDispatch(const CallInterfaceDescriptor& descriptor, |
| 429 Node* code_target_address, Node** args); | 429 Node* code_target_address, Node** args); |
| 430 | 430 |
| 431 Node* CallJS(Callable const& callable, Node* context, Node* function, | 431 Node* CallJS(Callable const& callable, Node* context, Node* function, |
| 432 Node* receiver, size_t result_size = 1); | 432 Node* receiver, size_t result_size = 1); |
| 433 Node* CallJS(Callable const& callable, Node* context, Node* function, | 433 Node* CallJS(Callable const& callable, Node* context, Node* function, |
| 434 Node* receiver, Node* arg1, size_t result_size = 1); | 434 Node* receiver, Node* arg1, size_t result_size = 1); |
| 435 Node* CallJS(Callable const& callable, Node* context, Node* function, | 435 Node* CallJS(Callable const& callable, Node* context, Node* function, |
| 436 Node* receiver, Node* arg1, Node* arg2, size_t result_size = 1); | 436 Node* receiver, Node* arg1, Node* arg2, size_t result_size = 1); |
| 437 Node* CallJS(Callable const& callable, Node* context, Node* function, |
| 438 Node* receiver, Node* arg1, Node* arg2, Node* arg3, |
| 439 size_t result_size = 1); |
| 437 | 440 |
| 438 // Call to a C function with two arguments. | 441 // Call to a C function with two arguments. |
| 439 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, | 442 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, |
| 440 MachineType arg1_type, Node* function, Node* arg0, | 443 MachineType arg1_type, Node* function, Node* arg0, |
| 441 Node* arg1); | 444 Node* arg1); |
| 442 | 445 |
| 443 // Exception handling support. | 446 // Exception handling support. |
| 444 void GotoIfException(Node* node, Label* if_exception, | 447 void GotoIfException(Node* node, Label* if_exception, |
| 445 Variable* exception_var = nullptr); | 448 Variable* exception_var = nullptr); |
| 446 | 449 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 // Map of variables to the list of value nodes that have been added from each | 505 // Map of variables to the list of value nodes that have been added from each |
| 503 // merge path in their order of merging. | 506 // merge path in their order of merging. |
| 504 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 507 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
| 505 }; | 508 }; |
| 506 | 509 |
| 507 } // namespace compiler | 510 } // namespace compiler |
| 508 } // namespace internal | 511 } // namespace internal |
| 509 } // namespace v8 | 512 } // namespace v8 |
| 510 | 513 |
| 511 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 514 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
| OLD | NEW |