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

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

Issue 10368004: Properly set the element type of literal lists. (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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 bool negate_result); 174 bool negate_result);
175 void GenerateAssertAssignable(intptr_t node_id, 175 void GenerateAssertAssignable(intptr_t node_id,
176 intptr_t token_index, 176 intptr_t token_index,
177 AstNode* value, 177 AstNode* value,
178 const AbstractType& dst_type, 178 const AbstractType& dst_type,
179 const String& dst_name); 179 const String& dst_name);
180 void GenerateArgumentTypeChecks(); 180 void GenerateArgumentTypeChecks();
181 void GenerateConditionTypeCheck(intptr_t node_id, intptr_t token_index); 181 void GenerateConditionTypeCheck(intptr_t node_id, intptr_t token_index);
182 182
183 void GenerateInstantiatorTypeArguments(intptr_t token_index); 183 void GenerateInstantiatorTypeArguments(intptr_t token_index);
184 void GenerateTypeArguments(ConstructorCallNode* node, 184 void GenerateTypeArguments(intptr_t node_id,
185 bool is_cls_parameterized); 185 intptr_t token_index,
186 const AbstractTypeArguments& type_arguments,
187 bool instantiate_type_arguments);
186 188
187 intptr_t locals_space_size() const { return locals_space_size_; } 189 intptr_t locals_space_size() const { return locals_space_size_; }
188 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } 190 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; }
189 191
190 bool IsResultNeeded(AstNode* node) const; 192 bool IsResultNeeded(AstNode* node) const;
191 193
192 void GenerateCall(intptr_t token_index, 194 void GenerateCall(intptr_t token_index,
193 const ExternalLabel* ext_label, 195 const ExternalLabel* ext_label,
194 PcDescriptors::Kind desc_kind); 196 PcDescriptors::Kind desc_kind);
195 void GenerateCallRuntime(intptr_t node_id, 197 void GenerateCallRuntime(intptr_t node_id,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 // The runtime context level is only incremented when a new context is 252 // The runtime context level is only incremented when a new context is
251 // allocated and chained to the list of contexts. 253 // allocated and chained to the list of contexts.
252 intptr_t context_level_; 254 intptr_t context_level_;
253 255
254 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); 256 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator);
255 }; 257 };
256 258
257 } // namespace dart 259 } // namespace dart
258 260
259 #endif // VM_CODE_GENERATOR_IA32_H_ 261 #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