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

Side by Side Diff: vm/code_generator_ia32.h

Issue 8827015: Implement two-argument check inline cache. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 const String& field_name); 163 const String& field_name);
164 void GenerateLoadIndexed(intptr_t node_id, intptr_t token_index); 164 void GenerateLoadIndexed(intptr_t node_id, intptr_t token_index);
165 void GenerateStoreIndexed(intptr_t node_id, 165 void GenerateStoreIndexed(intptr_t node_id,
166 intptr_t token_index, 166 intptr_t token_index,
167 bool preserve_value); 167 bool preserve_value);
168 168
169 void GenerateInstanceCall(intptr_t node_id, 169 void GenerateInstanceCall(intptr_t node_id,
170 intptr_t token_index, 170 intptr_t token_index,
171 const String& function_name, 171 const String& function_name,
172 int num_arguments, 172 int num_arguments,
173 const Array& optional_arguments_names); 173 const Array& optional_arguments_names,
174 intptr_t num_checks);
regis 2011/12/09 23:08:03 Would it be possible to spare this additional argu
srdjan 2011/12/12 17:19:33 num_checks -> num_args_checked, added comment as w
174 175
175 void GenerateInstanceOf(intptr_t node_id, 176 void GenerateInstanceOf(intptr_t node_id,
176 intptr_t token_index, 177 intptr_t token_index,
177 const AbstractType& type, 178 const AbstractType& type,
178 bool negate_result); 179 bool negate_result);
179 void GenerateAssertAssignable(intptr_t node_id, 180 void GenerateAssertAssignable(intptr_t node_id,
180 intptr_t token_index, 181 intptr_t token_index,
181 const AbstractType& dst_type, 182 const AbstractType& dst_type,
182 const String& dst_name); 183 const String& dst_name);
183 void GenerateArgumentTypeChecks(); 184 void GenerateArgumentTypeChecks();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 HandlerList* exception_handlers_list_; 219 HandlerList* exception_handlers_list_;
219 int try_index_; 220 int try_index_;
220 221
221 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); 222 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator);
222 }; 223 };
223 224
224 225
225 } // namespace dart 226 } // namespace dart
226 227
227 #endif // VM_CODE_GENERATOR_IA32_H_ 228 #endif // VM_CODE_GENERATOR_IA32_H_
OLDNEW
« no previous file with comments | « vm/code_generator.cc ('k') | vm/code_generator_ia32.cc » ('j') | vm/code_generator_ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698