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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 MachineType arg1_type, Node* function, Node* arg0, | 501 MachineType arg1_type, Node* function, Node* arg0, |
502 Node* arg1); | 502 Node* arg1); |
503 // Call to a C function with eight arguments. | 503 // Call to a C function with eight arguments. |
504 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, | 504 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, |
505 MachineType arg1_type, MachineType arg2_type, | 505 MachineType arg1_type, MachineType arg2_type, |
506 MachineType arg3_type, MachineType arg4_type, | 506 MachineType arg3_type, MachineType arg4_type, |
507 MachineType arg5_type, MachineType arg6_type, | 507 MachineType arg5_type, MachineType arg6_type, |
508 MachineType arg7_type, Node* function, Node* arg0, | 508 MachineType arg7_type, Node* function, Node* arg0, |
509 Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 509 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
510 Node* arg5, Node* arg6, Node* arg7); | 510 Node* arg5, Node* arg6, Node* arg7); |
| 511 Node* TailCallInterpreterDispatch(const CallDescriptor* call_descriptor, |
| 512 Node* target, Node* arg1, Node* arg2, |
| 513 Node* arg3, Node* arg4, Node* arg5); |
511 | 514 |
512 // =========================================================================== | 515 // =========================================================================== |
513 // The following utility methods deal with control flow, hence might switch | 516 // The following utility methods deal with control flow, hence might switch |
514 // the current basic block or create new basic blocks for labels. | 517 // the current basic block or create new basic blocks for labels. |
515 | 518 |
516 // Control flow. | 519 // Control flow. |
517 void Goto(Label* label); | 520 void Goto(Label* label); |
518 void Branch(Node* condition, Label* true_val, Label* false_val); | 521 void Branch(Node* condition, Label* true_val, Label* false_val); |
519 void Switch(Node* index, Label* default_label, int32_t* case_values, | 522 void Switch(Node* index, Label* default_label, int32_t* case_values, |
520 Label** case_labels, size_t case_count); | 523 Label** case_labels, size_t case_count); |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 BasicBlock* current_block_; | 594 BasicBlock* current_block_; |
592 | 595 |
593 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 596 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
594 }; | 597 }; |
595 | 598 |
596 } // namespace compiler | 599 } // namespace compiler |
597 } // namespace internal | 600 } // namespace internal |
598 } // namespace v8 | 601 } // namespace v8 |
599 | 602 |
600 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 603 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |