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

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

Issue 328923002: Lazy loading of deferred libraries (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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/vm/bootstrap.cc ('k') | runtime/vm/dart_api_impl.cc » ('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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 V(GrowableList_getCapacity, 1) \ 345 V(GrowableList_getCapacity, 1) \
346 V(GrowableList_setLength, 2) \ 346 V(GrowableList_setLength, 2) \
347 V(GrowableList_setData, 2) \ 347 V(GrowableList_setData, 2) \
348 V(Internal_makeListFixedLength, 1) \ 348 V(Internal_makeListFixedLength, 1) \
349 V(WeakProperty_new, 2) \ 349 V(WeakProperty_new, 2) \
350 V(WeakProperty_getKey, 1) \ 350 V(WeakProperty_getKey, 1) \
351 V(WeakProperty_getValue, 1) \ 351 V(WeakProperty_getValue, 1) \
352 V(WeakProperty_setValue, 2) \ 352 V(WeakProperty_setValue, 2) \
353 V(Uri_isWindowsPlatform, 0) \ 353 V(Uri_isWindowsPlatform, 0) \
354 V(LibraryPrefix_load, 1) \ 354 V(LibraryPrefix_load, 1) \
355 V(LibraryPrefix_invalidateDependentCode, 1) \
355 V(UserTag_new, 2) \ 356 V(UserTag_new, 2) \
356 V(UserTag_label, 1) \ 357 V(UserTag_label, 1) \
357 V(UserTag_defaultTag, 0) \ 358 V(UserTag_defaultTag, 0) \
358 V(UserTag_makeCurrent, 1) \ 359 V(UserTag_makeCurrent, 1) \
359 V(Profiler_getCurrentTag, 0) \ 360 V(Profiler_getCurrentTag, 0) \
360 361
361 362
362 class BootstrapNatives : public AllStatic { 363 class BootstrapNatives : public AllStatic {
363 public: 364 public:
364 static Dart_NativeFunction Lookup(Dart_Handle name, 365 static Dart_NativeFunction Lookup(Dart_Handle name,
365 int argument_count, 366 int argument_count,
366 bool* auto_setup_scope); 367 bool* auto_setup_scope);
367 368
368 static const uint8_t* Symbol(Dart_NativeFunction* nf); 369 static const uint8_t* Symbol(Dart_NativeFunction* nf);
369 370
370 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \ 371 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
371 static void DN_##name(Dart_NativeArguments args); 372 static void DN_##name(Dart_NativeArguments args);
372 373
373 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 374 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
374 375
375 #undef DECLARE_BOOTSTRAP_NATIVE 376 #undef DECLARE_BOOTSTRAP_NATIVE
376 }; 377 };
377 378
378 } // namespace dart 379 } // namespace dart
379 380
380 #endif // VM_BOOTSTRAP_NATIVES_H_ 381 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698