| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_ | 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_ |
| 6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ | 6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ |
| 7 | 7 |
| 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ | 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ |
| 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h. | 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h. |
| 10 #endif | 10 #endif |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 void LoadDoubleOrSmiToXmm(XmmRegister result, | 71 void LoadDoubleOrSmiToXmm(XmmRegister result, |
| 72 Register reg, | 72 Register reg, |
| 73 Register temp, | 73 Register temp, |
| 74 Label* not_double_or_smi); | 74 Label* not_double_or_smi); |
| 75 | 75 |
| 76 // Returns 'true' if code generation for this function is complete, i.e., | 76 // Returns 'true' if code generation for this function is complete, i.e., |
| 77 // no fall-through to regular code is needed. | 77 // no fall-through to regular code is needed. |
| 78 bool TryIntrinsify(); | 78 bool TryIntrinsify(); |
| 79 | 79 |
| 80 void GenerateCallRuntime(intptr_t deopt_id, | 80 void GenerateCallRuntime(intptr_t token_pos, |
| 81 intptr_t token_pos, | |
| 82 const RuntimeEntry& entry, | 81 const RuntimeEntry& entry, |
| 83 LocationSummary* locs); | 82 LocationSummary* locs); |
| 84 | 83 |
| 85 void GenerateCall(intptr_t token_pos, | 84 void GenerateCall(intptr_t token_pos, |
| 86 const ExternalLabel* label, | 85 const ExternalLabel* label, |
| 87 PcDescriptors::Kind kind, | 86 PcDescriptors::Kind kind, |
| 88 LocationSummary* locs); | 87 LocationSummary* locs); |
| 89 | 88 |
| 90 void GenerateDartCall(intptr_t deopt_id, | 89 void GenerateDartCall(intptr_t deopt_id, |
| 91 intptr_t token_pos, | 90 intptr_t token_pos, |
| 92 const ExternalLabel* label, | 91 const ExternalLabel* label, |
| 93 PcDescriptors::Kind kind, | 92 PcDescriptors::Kind kind, |
| 94 LocationSummary* locs); | 93 LocationSummary* locs); |
| 95 | 94 |
| 96 void GenerateAssertAssignable(intptr_t deopt_id, | 95 void GenerateAssertAssignable(intptr_t token_pos, |
| 97 intptr_t token_pos, | |
| 98 const AbstractType& dst_type, | 96 const AbstractType& dst_type, |
| 99 const String& dst_name, | 97 const String& dst_name, |
| 100 LocationSummary* locs); | 98 LocationSummary* locs); |
| 101 | 99 |
| 102 void GenerateInstanceOf(intptr_t deopt_id, | 100 void GenerateInstanceOf(intptr_t token_pos, |
| 103 intptr_t token_pos, | |
| 104 const AbstractType& type, | 101 const AbstractType& type, |
| 105 bool negate_result, | 102 bool negate_result, |
| 106 LocationSummary* locs); | 103 LocationSummary* locs); |
| 107 | 104 |
| 108 void GenerateInstanceCall(intptr_t deopt_id, | 105 void GenerateInstanceCall(intptr_t deopt_id, |
| 109 intptr_t token_pos, | 106 intptr_t token_pos, |
| 110 const String& function_name, | 107 const String& function_name, |
| 111 intptr_t argument_count, | 108 intptr_t argument_count, |
| 112 const Array& argument_names, | 109 const Array& argument_names, |
| 113 intptr_t checked_argument_count, | 110 intptr_t checked_argument_count, |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 // that should be used when deoptimizing we store it in this variable. | 319 // that should be used when deoptimizing we store it in this variable. |
| 323 // In future AddDeoptStub should be moved out of the instruction template. | 320 // In future AddDeoptStub should be moved out of the instruction template. |
| 324 Environment* pending_deoptimization_env_; | 321 Environment* pending_deoptimization_env_; |
| 325 | 322 |
| 326 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 323 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 327 }; | 324 }; |
| 328 | 325 |
| 329 } // namespace dart | 326 } // namespace dart |
| 330 | 327 |
| 331 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ | 328 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
| OLD | NEW |