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

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

Issue 10345003: Temporary fix for GrowableArray type arguments: use the type arguments stores in GrowableArray inst… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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 | « runtime/vm/code_generator.cc ('k') | runtime/vm/code_generator_ia32.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_CODE_GENERATOR_IA32_H_ 5 #ifndef VM_CODE_GENERATOR_IA32_H_
6 #define VM_CODE_GENERATOR_IA32_H_ 6 #define VM_CODE_GENERATOR_IA32_H_
7 7
8 #ifndef VM_CODE_GENERATOR_H_ 8 #ifndef VM_CODE_GENERATOR_H_
9 #error Do not include code_generator_ia32.h directly; use code_generator.h. 9 #error Do not include code_generator_ia32.h directly; use code_generator.h.
10 #endif 10 #endif
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 Label* is_instance_lbl, 210 Label* is_instance_lbl,
211 Label* is_not_instance_lbl); 211 Label* is_not_instance_lbl);
212 void GenerateInstantiatedTypeNoArgumentsTest(intptr_t node_id, 212 void GenerateInstantiatedTypeNoArgumentsTest(intptr_t node_id,
213 intptr_t token_index, 213 intptr_t token_index,
214 const AbstractType& dst_type, 214 const AbstractType& dst_type,
215 Label* is_instance_lbl, 215 Label* is_instance_lbl,
216 Label* is_not_instance_lbl); 216 Label* is_not_instance_lbl);
217 void GenerateUninstantiatedTypeTest(const AbstractType& dst_type, 217 void GenerateUninstantiatedTypeTest(const AbstractType& dst_type,
218 intptr_t token_index, 218 intptr_t token_index,
219 Label* is_instance_lbl); 219 Label* is_instance_lbl);
220 void GenerateSubtypeTestCacheLookup(intptr_t node_id, 220 void GenerateSubtype1TestCacheLookup(intptr_t node_id,
221 intptr_t token_index, 221 intptr_t token_index,
222 const Class& type_class, 222 const Class& type_class,
223 Label* is_instance_lbl, 223 Label* is_instance_lbl,
224 Label* is_not_instance_lbl); 224 Label* is_not_instance_lbl);
225 225
226 void HandleBackwardBranch(intptr_t loop_id, intptr_t token_index); 226 void HandleBackwardBranch(intptr_t loop_id, intptr_t token_index);
227 227
228 void ErrorMsg(intptr_t token_index, const char* format, ...); 228 void ErrorMsg(intptr_t token_index, const char* format, ...);
229 229
230 int generate_next_try_index() { return try_index_ += 1; } 230 int generate_next_try_index() { return try_index_ += 1; }
231 231
232 void MarkDeoptPoint(intptr_t node_id, intptr_t token_index); 232 void MarkDeoptPoint(intptr_t node_id, intptr_t token_index);
233 void AddCurrentDescriptor(PcDescriptors::Kind kind, 233 void AddCurrentDescriptor(PcDescriptors::Kind kind,
234 intptr_t node_id, 234 intptr_t node_id,
(...skipping 13 matching lines...) Expand all
248 // The runtime context level is only incremented when a new context is 248 // The runtime context level is only incremented when a new context is
249 // allocated and chained to the list of contexts. 249 // allocated and chained to the list of contexts.
250 intptr_t context_level_; 250 intptr_t context_level_;
251 251
252 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); 252 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator);
253 }; 253 };
254 254
255 } // namespace dart 255 } // namespace dart
256 256
257 #endif // VM_CODE_GENERATOR_IA32_H_ 257 #endif // VM_CODE_GENERATOR_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/code_generator_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698