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