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

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

Issue 8271008: Set type argument vector at run time in instantiated closure objects. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 2 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 void GenerateInstanceOf(intptr_t token_index, 114 void GenerateInstanceOf(intptr_t token_index,
115 const Type& type, 115 const Type& type,
116 bool negate_result); 116 bool negate_result);
117 void GenerateAssertAssignable(intptr_t token_index, 117 void GenerateAssertAssignable(intptr_t token_index,
118 const Type& dst_type, 118 const Type& dst_type,
119 const String& dst_name); 119 const String& dst_name);
120 void GenerateArgumentTypeChecks(); 120 void GenerateArgumentTypeChecks();
121 void GenerateConditionTypeCheck(intptr_t token_index); 121 void GenerateConditionTypeCheck(intptr_t token_index);
122 122
123 void GenerateInstantiatorTypeArguments();
123 void GenerateTypeArguments(ConstructorCallNode* node, 124 void GenerateTypeArguments(ConstructorCallNode* node,
124 bool is_cls_parameterized); 125 bool is_cls_parameterized);
125 126
126 intptr_t locals_space_size() const { return locals_space_size_; } 127 intptr_t locals_space_size() const { return locals_space_size_; }
127 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; } 128 void set_locals_space_size(intptr_t value) { locals_space_size_ = value; }
128 129
129 bool IsResultNeeded(AstNode* node) const; 130 bool IsResultNeeded(AstNode* node) const;
130 131
131 void GenerateCall(intptr_t token_index, const ExternalLabel* ext_label); 132 void GenerateCall(intptr_t token_index, const ExternalLabel* ext_label);
132 void GenerateCallRuntime(intptr_t token_index, const RuntimeEntry& entry); 133 void GenerateCallRuntime(intptr_t token_index, const RuntimeEntry& entry);
(...skipping 17 matching lines...) Expand all
150 HandlerList* exception_handlers_list_; 151 HandlerList* exception_handlers_list_;
151 int try_index_; 152 int try_index_;
152 153
153 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); 154 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator);
154 }; 155 };
155 156
156 157
157 } // namespace dart 158 } // namespace dart
158 159
159 #endif // VM_CODE_GENERATOR_IA32_H_ 160 #endif // VM_CODE_GENERATOR_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698