Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.h

Issue 9665029: Generate code for instance of: copy from CodeGenerator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const RuntimeEntry& entry); 85 const RuntimeEntry& entry);
86 void AddCurrentDescriptor(PcDescriptors::Kind kind, 86 void AddCurrentDescriptor(PcDescriptors::Kind kind,
87 intptr_t node_id, 87 intptr_t node_id,
88 intptr_t token_index); 88 intptr_t token_index);
89 89
90 void GenerateAssertAssignable(intptr_t node_id, 90 void GenerateAssertAssignable(intptr_t node_id,
91 intptr_t token_index, 91 intptr_t token_index,
92 const AbstractType& dst_type, 92 const AbstractType& dst_type,
93 const String& dst_name); 93 const String& dst_name);
94 94
95 void GenerateInstanceOf(intptr_t node_id,
96 intptr_t token_index,
97 const AbstractType& type,
98 bool negate_result);
99
100 void GenerateInstantiatorTypeArguments(intptr_t token_index);
101
95 Assembler* assembler_; 102 Assembler* assembler_;
96 const ParsedFunction& parsed_function_; 103 const ParsedFunction& parsed_function_;
97 const GrowableArray<BlockEntryInstr*>* blocks_; 104 const GrowableArray<BlockEntryInstr*>* blocks_;
98 105
99 // Compiler specific per-block state. Indexed by block number, so not 106 // Compiler specific per-block state. Indexed by block number, so not
100 // necessarily the same order as the array of blocks. 107 // necessarily the same order as the array of blocks.
101 GrowableArray<BlockInfo*> block_info_; 108 GrowableArray<BlockInfo*> block_info_;
102 109
103 BlockEntryInstr* current_block_; 110 BlockEntryInstr* current_block_;
104 111
105 CodeGenerator::DescriptorList* pc_descriptors_list_; 112 CodeGenerator::DescriptorList* pc_descriptors_list_;
106 int stack_local_count_; 113 int stack_local_count_;
107 114
108 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 115 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
109 }; 116 };
110 117
111 } // namespace dart 118 } // namespace dart
112 119
113 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 120 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698