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

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

Issue 135913003: Optimize getField by caching a closure generated from a specialized function kind. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | runtime/vm/object.h » ('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 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 V(Int32x4_setFlagZ, 2) \ 281 V(Int32x4_setFlagZ, 2) \
282 V(Int32x4_setFlagW, 2) \ 282 V(Int32x4_setFlagW, 2) \
283 V(Int32x4_select, 3) \ 283 V(Int32x4_select, 3) \
284 V(Isolate_mainPort, 0) \ 284 V(Isolate_mainPort, 0) \
285 V(Isolate_spawnFunction, 1) \ 285 V(Isolate_spawnFunction, 1) \
286 V(Isolate_spawnUri, 1) \ 286 V(Isolate_spawnUri, 1) \
287 V(Mirrors_makeLocalClassMirror, 1) \ 287 V(Mirrors_makeLocalClassMirror, 1) \
288 V(Mirrors_makeLocalTypeMirror, 1) \ 288 V(Mirrors_makeLocalTypeMirror, 1) \
289 V(Mirrors_makeLocalMirrorSystem, 0) \ 289 V(Mirrors_makeLocalMirrorSystem, 0) \
290 V(Mirrors_mangleName, 2) \ 290 V(Mirrors_mangleName, 2) \
291 V(Mirrors_makeGetter, 2) \
292 V(Mirrors_makeSetter, 2) \
291 V(MirrorReference_equals, 2) \ 293 V(MirrorReference_equals, 2) \
292 V(InstanceMirror_invoke, 5) \ 294 V(InstanceMirror_invoke, 5) \
293 V(InstanceMirror_invokeGetter, 3) \ 295 V(InstanceMirror_invokeGetter, 3) \
294 V(InstanceMirror_invokeSetter, 4) \ 296 V(InstanceMirror_invokeSetter, 4) \
295 V(InstanceMirror_computeType, 1) \ 297 V(InstanceMirror_computeType, 1) \
296 V(ClosureMirror_find_in_context, 2) \ 298 V(ClosureMirror_find_in_context, 2) \
297 V(ClosureMirror_function, 1) \ 299 V(ClosureMirror_function, 1) \
298 V(ClosureMirror_apply, 2) \ 300 V(ClosureMirror_apply, 2) \
299 V(ClassMirror_library, 1) \ 301 V(ClassMirror_library, 1) \
300 V(ClassMirror_supertype, 1) \ 302 V(ClassMirror_supertype, 1) \
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 static void DN_##name(Dart_NativeArguments args); 354 static void DN_##name(Dart_NativeArguments args);
353 355
354 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 356 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
355 357
356 #undef DECLARE_BOOTSTRAP_NATIVE 358 #undef DECLARE_BOOTSTRAP_NATIVE
357 }; 359 };
358 360
359 } // namespace dart 361 } // namespace dart
360 362
361 #endif // VM_BOOTSTRAP_NATIVES_H_ 363 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698