| 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 return HeapConstant(isolate()->factory()->InternalizeUtf8String(string)); | 514 return HeapConstant(isolate()->factory()->InternalizeUtf8String(string)); |
| 515 } | 515 } |
| 516 | 516 |
| 517 // Call a given call descriptor and the given arguments. | 517 // Call a given call descriptor and the given arguments. |
| 518 Node* CallN(CallDescriptor* desc, Node* function, Node** args); | 518 Node* CallN(CallDescriptor* desc, Node* function, Node** args); |
| 519 // Call a given call descriptor and the given arguments and frame-state. | 519 // Call a given call descriptor and the given arguments and frame-state. |
| 520 Node* CallNWithFrameState(CallDescriptor* desc, Node* function, Node** args, | 520 Node* CallNWithFrameState(CallDescriptor* desc, Node* function, Node** args, |
| 521 Node* frame_state); | 521 Node* frame_state); |
| 522 // Tail call the given call descriptor and the given arguments. | 522 // Tail call the given call descriptor and the given arguments. |
| 523 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); | 523 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args); |
| 524 // Call through CallFunctionStub with lazy deopt and frame-state. | |
| 525 Node* CallFunctionStub0(Node* function, Node* receiver, Node* context, | |
| 526 Node* frame_state, CallFunctionFlags flags); | |
| 527 // Call to a runtime function with one arguments. | 524 // Call to a runtime function with one arguments. |
| 528 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context); | 525 Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context); |
| 529 // Call to a runtime function with two arguments. | 526 // Call to a runtime function with two arguments. |
| 530 Node* CallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, | 527 Node* CallRuntime2(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 531 Node* context); | 528 Node* context); |
| 532 // Call to a runtime function with four arguments. | 529 // Call to a runtime function with four arguments. |
| 533 Node* CallRuntime4(Runtime::FunctionId function, Node* arg1, Node* arg2, | 530 Node* CallRuntime4(Runtime::FunctionId function, Node* arg1, Node* arg2, |
| 534 Node* arg3, Node* arg4, Node* context); | 531 Node* arg3, Node* arg4, Node* context); |
| 535 // Call to a C function with zero arguments. | 532 // Call to a C function with zero arguments. |
| 536 Node* CallCFunction0(MachineType return_type, Node* function); | 533 Node* CallCFunction0(MachineType return_type, Node* function); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 BasicBlock* current_block_; | 606 BasicBlock* current_block_; |
| 610 | 607 |
| 611 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 608 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
| 612 }; | 609 }; |
| 613 | 610 |
| 614 } // namespace compiler | 611 } // namespace compiler |
| 615 } // namespace internal | 612 } // namespace internal |
| 616 } // namespace v8 | 613 } // namespace v8 |
| 617 | 614 |
| 618 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 615 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |