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

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

Issue 20216002: Make ClassMirror.typeVariables lazy and convert dependencies to native code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Get rid of TypeVariableMirror dependency Created 7 years, 5 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) 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_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 V(InstanceMirror_invokeSetter, 4) \ 246 V(InstanceMirror_invokeSetter, 4) \
247 V(ClosureMirror_apply, 2) \ 247 V(ClosureMirror_apply, 2) \
248 V(ClassMirror_name, 1) \ 248 V(ClassMirror_name, 1) \
249 V(ClassMirror_library, 1) \ 249 V(ClassMirror_library, 1) \
250 V(ClassMirror_members, 2) \ 250 V(ClassMirror_members, 2) \
251 V(LibraryMirror_members, 2) \ 251 V(LibraryMirror_members, 2) \
252 V(ClassMirror_invoke, 4) \ 252 V(ClassMirror_invoke, 4) \
253 V(ClassMirror_invokeGetter, 3) \ 253 V(ClassMirror_invokeGetter, 3) \
254 V(ClassMirror_invokeSetter, 4) \ 254 V(ClassMirror_invokeSetter, 4) \
255 V(ClassMirror_invokeConstructor, 3) \ 255 V(ClassMirror_invokeConstructor, 3) \
256 V(ClassMirror_type_variables, 2) \
256 V(LibraryMirror_invoke, 4) \ 257 V(LibraryMirror_invoke, 4) \
257 V(LibraryMirror_invokeGetter, 3) \ 258 V(LibraryMirror_invokeGetter, 3) \
258 V(LibraryMirror_invokeSetter, 4) \ 259 V(LibraryMirror_invokeSetter, 4) \
260 V(LocalTypeVariableMirror_owner, 1) \
261 V(LocalTypeVariableMirror_upper_bound, 1) \
259 V(DeclarationMirror_metadata, 1) \ 262 V(DeclarationMirror_metadata, 1) \
260 V(MethodMirror_name, 1) \ 263 V(MethodMirror_name, 1) \
261 V(MethodMirror_owner, 1) \ 264 V(MethodMirror_owner, 1) \
262 V(MethodMirror_return_type, 1) \ 265 V(MethodMirror_return_type, 1) \
263 V(ParameterMirror_type, 2) \ 266 V(ParameterMirror_type, 2) \
264 V(VariableMirror_type, 1) \ 267 V(VariableMirror_type, 1) \
265 V(GrowableObjectArray_allocate, 2) \ 268 V(GrowableObjectArray_allocate, 2) \
266 V(GrowableObjectArray_getIndexed, 2) \ 269 V(GrowableObjectArray_getIndexed, 2) \
267 V(GrowableObjectArray_setIndexed, 3) \ 270 V(GrowableObjectArray_setIndexed, 3) \
268 V(GrowableObjectArray_getLength, 1) \ 271 V(GrowableObjectArray_getLength, 1) \
(...skipping 13 matching lines...) Expand all
282 static void DN_##name(Dart_NativeArguments args); 285 static void DN_##name(Dart_NativeArguments args);
283 286
284 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 287 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
285 288
286 #undef DECLARE_BOOTSTRAP_NATIVE 289 #undef DECLARE_BOOTSTRAP_NATIVE
287 }; 290 };
288 291
289 } // namespace dart 292 } // namespace dart
290 293
291 #endif // VM_BOOTSTRAP_NATIVES_H_ 294 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698