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

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

Issue 21119002: Implement reflect() with Dart code, InstanceMirror.type and ClosureMirror.function with internal co… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 V(Uint32x4_setFlagX, 2) \ 233 V(Uint32x4_setFlagX, 2) \
234 V(Uint32x4_setFlagY, 2) \ 234 V(Uint32x4_setFlagY, 2) \
235 V(Uint32x4_setFlagZ, 2) \ 235 V(Uint32x4_setFlagZ, 2) \
236 V(Uint32x4_setFlagW, 2) \ 236 V(Uint32x4_setFlagW, 2) \
237 V(Uint32x4_select, 3) \ 237 V(Uint32x4_select, 3) \
238 V(Uint32x4_toFloat32x4, 1) \ 238 V(Uint32x4_toFloat32x4, 1) \
239 V(isolate_getPortInternal, 0) \ 239 V(isolate_getPortInternal, 0) \
240 V(isolate_spawnFunction, 2) \ 240 V(isolate_spawnFunction, 2) \
241 V(isolate_spawnUri, 1) \ 241 V(isolate_spawnUri, 1) \
242 V(Mirrors_isLocalPort, 1) \ 242 V(Mirrors_isLocalPort, 1) \
243 V(Mirrors_makeLocalInstanceMirror, 1) \
244 V(Mirrors_makeLocalClassMirror, 1) \ 243 V(Mirrors_makeLocalClassMirror, 1) \
245 V(Mirrors_makeLocalMirrorSystem, 0) \ 244 V(Mirrors_makeLocalMirrorSystem, 0) \
246 V(InstanceMirror_invoke, 4) \ 245 V(InstanceMirror_invoke, 4) \
247 V(InstanceMirror_invokeGetter, 3) \ 246 V(InstanceMirror_invokeGetter, 3) \
248 V(InstanceMirror_invokeSetter, 4) \ 247 V(InstanceMirror_invokeSetter, 4) \
248 V(ClosureMirror_function, 1) \
249 V(ClosureMirror_apply, 2) \ 249 V(ClosureMirror_apply, 2) \
250 V(ClassMirror_name, 1) \ 250 V(ClassMirror_name, 1) \
251 V(ClassMirror_library, 1) \ 251 V(ClassMirror_library, 1) \
252 V(ClassMirror_supertype, 1) \ 252 V(ClassMirror_supertype, 1) \
253 V(ClassMirror_members, 2) \ 253 V(ClassMirror_members, 2) \
254 V(ClassMirror_constructors, 2) \ 254 V(ClassMirror_constructors, 2) \
255 V(LibraryMirror_members, 2) \ 255 V(LibraryMirror_members, 2) \
256 V(ClassMirror_invoke, 4) \ 256 V(ClassMirror_invoke, 4) \
257 V(ClassMirror_invokeGetter, 3) \ 257 V(ClassMirror_invokeGetter, 3) \
258 V(ClassMirror_invokeSetter, 4) \ 258 V(ClassMirror_invokeSetter, 4) \
(...skipping 28 matching lines...) Expand all
287 static void DN_##name(Dart_NativeArguments args); 287 static void DN_##name(Dart_NativeArguments args);
288 288
289 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 289 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
290 290
291 #undef DECLARE_BOOTSTRAP_NATIVE 291 #undef DECLARE_BOOTSTRAP_NATIVE
292 }; 292 };
293 293
294 } // namespace dart 294 } // namespace dart
295 295
296 #endif // VM_BOOTSTRAP_NATIVES_H_ 296 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« runtime/lib/mirrors_impl.dart ('K') | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698