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

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

Issue 1211273011: Added full deferred loading semantic to precompiled/--noopt/eager-loading code (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: c Created 5 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
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/compiler.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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 V(LinkedHashMap_getDeletedKeys, 1) \ 373 V(LinkedHashMap_getDeletedKeys, 1) \
374 V(LinkedHashMap_setDeletedKeys, 2) \ 374 V(LinkedHashMap_setDeletedKeys, 2) \
375 V(WeakProperty_new, 2) \ 375 V(WeakProperty_new, 2) \
376 V(WeakProperty_getKey, 1) \ 376 V(WeakProperty_getKey, 1) \
377 V(WeakProperty_getValue, 1) \ 377 V(WeakProperty_getValue, 1) \
378 V(WeakProperty_setValue, 2) \ 378 V(WeakProperty_setValue, 2) \
379 V(Uri_isWindowsPlatform, 0) \ 379 V(Uri_isWindowsPlatform, 0) \
380 V(LibraryPrefix_load, 1) \ 380 V(LibraryPrefix_load, 1) \
381 V(LibraryPrefix_invalidateDependentCode, 1) \ 381 V(LibraryPrefix_invalidateDependentCode, 1) \
382 V(LibraryPrefix_loadError, 1) \ 382 V(LibraryPrefix_loadError, 1) \
383 V(LibraryPrefix_isLoaded, 1) \
383 V(UserTag_new, 2) \ 384 V(UserTag_new, 2) \
384 V(UserTag_label, 1) \ 385 V(UserTag_label, 1) \
385 V(UserTag_defaultTag, 0) \ 386 V(UserTag_defaultTag, 0) \
386 V(UserTag_makeCurrent, 1) \ 387 V(UserTag_makeCurrent, 1) \
387 V(Profiler_getCurrentTag, 0) \ 388 V(Profiler_getCurrentTag, 0) \
388 V(ClassID_getID, 1) \ 389 V(ClassID_getID, 1) \
389 V(Num_toString, 1) \ 390 V(Num_toString, 1) \
390 391
391 392
392 class BootstrapNatives : public AllStatic { 393 class BootstrapNatives : public AllStatic {
393 public: 394 public:
394 static Dart_NativeFunction Lookup(Dart_Handle name, 395 static Dart_NativeFunction Lookup(Dart_Handle name,
395 int argument_count, 396 int argument_count,
396 bool* auto_setup_scope); 397 bool* auto_setup_scope);
397 398
398 static const uint8_t* Symbol(Dart_NativeFunction* nf); 399 static const uint8_t* Symbol(Dart_NativeFunction* nf);
399 400
400 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \ 401 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
401 static void DN_##name(Dart_NativeArguments args); 402 static void DN_##name(Dart_NativeArguments args);
402 403
403 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 404 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
404 405
405 #undef DECLARE_BOOTSTRAP_NATIVE 406 #undef DECLARE_BOOTSTRAP_NATIVE
406 }; 407 };
407 408
408 } // namespace dart 409 } // namespace dart
409 410
410 #endif // VM_BOOTSTRAP_NATIVES_H_ 411 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698