| 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 // Tail call the given call descriptor and the given arguments. | 501 // Tail call the given call descriptor and the given arguments. |
| 502 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); | 502 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); |
| 503 // Call through CallFunctionStub with lazy deopt and frame-state. | 503 // Call through CallFunctionStub with lazy deopt and frame-state. |
| 504 Node* CallFunctionStub0(Node* function, Node* receiver, Node* context, | 504 Node* CallFunctionStub0(Node* function, Node* receiver, Node* context, |
| 505 Node* frame_state, CallFunctionFlags flags); | 505 Node* frame_state, CallFunctionFlags flags); |
| 506 // Call to a runtime function with one arguments. | 506 // Call to a runtime function with one arguments. |
| 507 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context); | 507 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context); |
| 508 // Call to a runtime function with two arguments. | 508 // Call to a runtime function with two arguments. |
| 509 Node* CallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, | 509 Node* CallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 510 Node* context); | 510 Node* context); |
| 511 // Call to a runtime function with four arguments. |
| 512 Node* CallRuntime4(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 513 Node* arg3, Node* arg4, Node* context); |
| 511 // Call to a C function with zero arguments. | 514 // Call to a C function with zero arguments. |
| 512 Node* CallCFunction0(MachineType return_type, Node* function); | 515 Node* CallCFunction0(MachineType return_type, Node* function); |
| 513 // Call to a C function with one parameter. | 516 // Call to a C function with one parameter. |
| 514 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, | 517 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, |
| 515 Node* function, Node* arg0); | 518 Node* function, Node* arg0); |
| 516 // Call to a C function with two arguments. | 519 // Call to a C function with two arguments. |
| 517 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, | 520 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, |
| 518 MachineType arg1_type, Node* function, Node* arg0, | 521 MachineType arg1_type, Node* function, Node* arg0, |
| 519 Node* arg1); | 522 Node* arg1); |
| 520 // Call to a C function with eight arguments. | 523 // Call to a C function with eight arguments. |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 BasicBlock* current_block_; | 586 BasicBlock* current_block_; |
| 584 | 587 |
| 585 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 588 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
| 586 }; | 589 }; |
| 587 | 590 |
| 588 } // namespace compiler | 591 } // namespace compiler |
| 589 } // namespace internal | 592 } // namespace internal |
| 590 } // namespace v8 | 593 } // namespace v8 |
| 591 | 594 |
| 592 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 595 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |