| 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/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" | 
| 9 #include "src/compiler/graph-builder.h" | 9 #include "src/compiler/graph-builder.h" | 
| 10 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" | 
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 464               Label** case_labels, size_t case_count); | 464               Label** case_labels, size_t case_count); | 
| 465   // Call through CallFunctionStub with lazy deopt and frame-state. | 465   // Call through CallFunctionStub with lazy deopt and frame-state. | 
| 466   Node* CallFunctionStub0(Node* function, Node* receiver, Node* context, | 466   Node* CallFunctionStub0(Node* function, Node* receiver, Node* context, | 
| 467                           Node* frame_state, CallFunctionFlags flags); | 467                           Node* frame_state, CallFunctionFlags flags); | 
| 468   // Call to a JS function with zero parameters. | 468   // Call to a JS function with zero parameters. | 
| 469   Node* CallJS0(Node* function, Node* receiver, Node* context, | 469   Node* CallJS0(Node* function, Node* receiver, Node* context, | 
| 470                 Node* frame_state); | 470                 Node* frame_state); | 
| 471   // Call to a runtime function with zero parameters. | 471   // Call to a runtime function with zero parameters. | 
| 472   Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context, | 472   Node* CallRuntime1(Runtime::FunctionId function, Node* arg0, Node* context, | 
| 473                      Node* frame_state); | 473                      Node* frame_state); | 
|  | 474   // Call to a C function with zero parameters. | 
|  | 475   Node* CallCFunction0(MachineType return_type, Node* function); | 
|  | 476   // Call to a C function with one parameter. | 
|  | 477   Node* CallCFunction1(MachineType return_type, MachineType arg0_type, | 
|  | 478                        Node* function, Node* arg0); | 
|  | 479   // Call to a C function with two parameters. | 
|  | 480   Node* CallCFunction2(MachineType return_type, MachineType arg0_type, | 
|  | 481                        MachineType arg1_type, Node* function, Node* arg0, | 
|  | 482                        Node* arg1); | 
| 474   void Return(Node* value); | 483   void Return(Node* value); | 
| 475   void Bind(Label* label); | 484   void Bind(Label* label); | 
| 476   void Deoptimize(Node* state); | 485   void Deoptimize(Node* state); | 
| 477 | 486 | 
| 478   // Variables. | 487   // Variables. | 
| 479   Node* Phi(MachineType type, Node* n1, Node* n2) { | 488   Node* Phi(MachineType type, Node* n1, Node* n2) { | 
| 480     return NewNode(common()->Phi(type, 2), n1, n2); | 489     return NewNode(common()->Phi(type, 2), n1, n2); | 
| 481   } | 490   } | 
| 482   Node* Phi(MachineType type, Node* n1, Node* n2, Node* n3) { | 491   Node* Phi(MachineType type, Node* n1, Node* n2, Node* n3) { | 
| 483     return NewNode(common()->Phi(type, 3), n1, n2, n3); | 492     return NewNode(common()->Phi(type, 3), n1, n2, n3); | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
| 514   BasicBlock* current_block_; | 523   BasicBlock* current_block_; | 
| 515 | 524 | 
| 516   DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 525   DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 
| 517 }; | 526 }; | 
| 518 | 527 | 
| 519 }  // namespace compiler | 528 }  // namespace compiler | 
| 520 }  // namespace internal | 529 }  // namespace internal | 
| 521 }  // namespace v8 | 530 }  // namespace v8 | 
| 522 | 531 | 
| 523 #endif  // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 532 #endif  // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 
| OLD | NEW | 
|---|