| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 void GenerateCall(intptr_t token_index, | 75 void GenerateCall(intptr_t token_index, |
| 76 const ExternalLabel* label, | 76 const ExternalLabel* label, |
| 77 PcDescriptors::Kind kind); | 77 PcDescriptors::Kind kind); |
| 78 void GenerateCallRuntime(intptr_t node_id, | 78 void GenerateCallRuntime(intptr_t node_id, |
| 79 intptr_t token_index, | 79 intptr_t token_index, |
| 80 const RuntimeEntry& entry); | 80 const RuntimeEntry& entry); |
| 81 void AddCurrentDescriptor(PcDescriptors::Kind kind, | 81 void AddCurrentDescriptor(PcDescriptors::Kind kind, |
| 82 intptr_t node_id, | 82 intptr_t node_id, |
| 83 intptr_t token_index); | 83 intptr_t token_index); |
| 84 | 84 |
| 85 void GenerateAssertAssignable(intptr_t node_id, |
| 86 intptr_t token_index, |
| 87 const AbstractType& dst_type, |
| 88 const String& dst_name); |
| 89 |
| 85 Assembler* assembler_; | 90 Assembler* assembler_; |
| 86 const ParsedFunction& parsed_function_; | 91 const ParsedFunction& parsed_function_; |
| 87 const GrowableArray<BlockEntryInstr*>* blocks_; | 92 const GrowableArray<BlockEntryInstr*>* blocks_; |
| 88 | 93 |
| 89 CodeGenerator::DescriptorList* pc_descriptors_list_; | 94 CodeGenerator::DescriptorList* pc_descriptors_list_; |
| 90 int stack_local_count_; | 95 int stack_local_count_; |
| 91 | 96 |
| 92 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); | 97 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); |
| 93 }; | 98 }; |
| 94 | 99 |
| 95 } // namespace dart | 100 } // namespace dart |
| 96 | 101 |
| 97 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ | 102 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ |
| OLD | NEW |