| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 // Call a given call descriptor and the given arguments. | 478 // Call a given call descriptor and the given arguments. |
| 479 Node* CallN(CallDescriptor* desc, Node* function, Node** args); | 479 Node* CallN(CallDescriptor* desc, Node* function, Node** args); |
| 480 // Call a given call descriptor and the given arguments and frame-state. | 480 // Call a given call descriptor and the given arguments and frame-state. |
| 481 Node* CallNWithFrameState(CallDescriptor* desc, Node* function, Node** args, | 481 Node* CallNWithFrameState(CallDescriptor* desc, Node* function, Node** args, |
| 482 Node* frame_state); | 482 Node* frame_state); |
| 483 // Tail call the given call descriptor and the given arguments. | 483 // Tail call the given call descriptor and the given arguments. |
| 484 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); | 484 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); |
| 485 // Call through CallFunctionStub with lazy deopt and frame-state. | 485 // Call through CallFunctionStub with lazy deopt and frame-state. |
| 486 Node* CallFunctionStub0(Node* function, Node* receiver, Node* context, | 486 Node* CallFunctionStub0(Node* function, Node* receiver, Node* context, |
| 487 Node* frame_state, CallFunctionFlags flags); | 487 Node* frame_state, CallFunctionFlags flags); |
| 488 // Call to a runtime function with zero arguments. | 488 // Call to a runtime function with one arguments. |
| 489 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context, | 489 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context); |
| 490 Node* frame_state); | 490 // Call to a runtime function with two arguments. |
| 491 Node* CallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 492 Node* context); |
| 491 // Call to a C function with zero arguments. | 493 // Call to a C function with zero arguments. |
| 492 Node* CallCFunction0(MachineType return_type, Node* function); | 494 Node* CallCFunction0(MachineType return_type, Node* function); |
| 493 // Call to a C function with one parameter. | 495 // Call to a C function with one parameter. |
| 494 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, | 496 Node* CallCFunction1(MachineType return_type, MachineType arg0_type, |
| 495 Node* function, Node* arg0); | 497 Node* function, Node* arg0); |
| 496 // Call to a C function with two arguments. | 498 // Call to a C function with two arguments. |
| 497 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, | 499 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, |
| 498 MachineType arg1_type, Node* function, Node* arg0, | 500 MachineType arg1_type, Node* function, Node* arg0, |
| 499 Node* arg1); | 501 Node* arg1); |
| 500 // Call to a C function with eight arguments. | 502 // Call to a C function with eight arguments. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 BasicBlock* current_block_; | 590 BasicBlock* current_block_; |
| 589 | 591 |
| 590 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 592 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
| 591 }; | 593 }; |
| 592 | 594 |
| 593 } // namespace compiler | 595 } // namespace compiler |
| 594 } // namespace internal | 596 } // namespace internal |
| 595 } // namespace v8 | 597 } // namespace v8 |
| 596 | 598 |
| 597 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 599 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |