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

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

Issue 2615943004: Reapply "reflectType() dynamic type arguments support (#26012)" (Closed)
Patch Set: Add a test. Created 3 years, 11 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
« no previous file with comments | « runtime/lib/mirrors_patch.dart ('k') | sdk/lib/_internal/js_runtime/lib/js_mirrors.dart » ('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 RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef RUNTIME_VM_BOOTSTRAP_NATIVES_H_
6 #define RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 6 #define RUNTIME_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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 V(VMService_CancelStream, 1) \ 359 V(VMService_CancelStream, 1) \
360 V(VMService_RequestAssets, 0) \ 360 V(VMService_RequestAssets, 0) \
361 V(VMService_DecodeAssets, 1) \ 361 V(VMService_DecodeAssets, 1) \
362 V(VMService_spawnUriNotify, 2) 362 V(VMService_spawnUriNotify, 2)
363 363
364 // List of bootstrap native entry points used in the dart:mirror library. 364 // List of bootstrap native entry points used in the dart:mirror library.
365 #define MIRRORS_BOOTSTRAP_NATIVE_LIST(V) \ 365 #define MIRRORS_BOOTSTRAP_NATIVE_LIST(V) \
366 V(Mirrors_evalInLibraryWithPrivateKey, 2) \ 366 V(Mirrors_evalInLibraryWithPrivateKey, 2) \
367 V(Mirrors_makeLocalClassMirror, 1) \ 367 V(Mirrors_makeLocalClassMirror, 1) \
368 V(Mirrors_makeLocalTypeMirror, 1) \ 368 V(Mirrors_makeLocalTypeMirror, 1) \
369 V(Mirrors_instantiateGenericType, 2) \
369 V(Mirrors_mangleName, 2) \ 370 V(Mirrors_mangleName, 2) \
370 V(MirrorReference_equals, 2) \ 371 V(MirrorReference_equals, 2) \
371 V(MirrorSystem_libraries, 0) \ 372 V(MirrorSystem_libraries, 0) \
372 V(MirrorSystem_isolate, 0) \ 373 V(MirrorSystem_isolate, 0) \
373 V(InstanceMirror_invoke, 5) \ 374 V(InstanceMirror_invoke, 5) \
374 V(InstanceMirror_invokeGetter, 3) \ 375 V(InstanceMirror_invokeGetter, 3) \
375 V(InstanceMirror_invokeSetter, 4) \ 376 V(InstanceMirror_invokeSetter, 4) \
376 V(InstanceMirror_computeType, 1) \ 377 V(InstanceMirror_computeType, 1) \
377 V(ClosureMirror_function, 1) \ 378 V(ClosureMirror_function, 1) \
378 V(TypeMirror_subtypeTest, 2) \ 379 V(TypeMirror_subtypeTest, 2) \
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 #ifndef PRODUCT 429 #ifndef PRODUCT
429 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 430 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
430 #endif 431 #endif
431 432
432 #undef DECLARE_BOOTSTRAP_NATIVE 433 #undef DECLARE_BOOTSTRAP_NATIVE
433 }; 434 };
434 435
435 } // namespace dart 436 } // namespace dart
436 437
437 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 438 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/mirrors_patch.dart ('k') | sdk/lib/_internal/js_runtime/lib/js_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698