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

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

Issue 216383004: Merge initial implementation of deferred handling in the VM: (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 9 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/object.cc ('k') | runtime/vm/compiler.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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 V(GrowableList_getLength, 1) \ 340 V(GrowableList_getLength, 1) \
341 V(GrowableList_getCapacity, 1) \ 341 V(GrowableList_getCapacity, 1) \
342 V(GrowableList_setLength, 2) \ 342 V(GrowableList_setLength, 2) \
343 V(GrowableList_setData, 2) \ 343 V(GrowableList_setData, 2) \
344 V(Internal_makeListFixedLength, 1) \ 344 V(Internal_makeListFixedLength, 1) \
345 V(WeakProperty_new, 2) \ 345 V(WeakProperty_new, 2) \
346 V(WeakProperty_getKey, 1) \ 346 V(WeakProperty_getKey, 1) \
347 V(WeakProperty_getValue, 1) \ 347 V(WeakProperty_getValue, 1) \
348 V(WeakProperty_setValue, 2) \ 348 V(WeakProperty_setValue, 2) \
349 V(Uri_isWindowsPlatform, 0) \ 349 V(Uri_isWindowsPlatform, 0) \
350 V(LibraryPrefix_load, 1) \
351
350 352
351 class BootstrapNatives : public AllStatic { 353 class BootstrapNatives : public AllStatic {
352 public: 354 public:
353 static Dart_NativeFunction Lookup(Dart_Handle name, 355 static Dart_NativeFunction Lookup(Dart_Handle name,
354 int argument_count, 356 int argument_count,
355 bool* auto_setup_scope); 357 bool* auto_setup_scope);
356 358
357 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \ 359 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
358 static void DN_##name(Dart_NativeArguments args); 360 static void DN_##name(Dart_NativeArguments args);
359 361
360 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 362 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
361 363
362 #undef DECLARE_BOOTSTRAP_NATIVE 364 #undef DECLARE_BOOTSTRAP_NATIVE
363 }; 365 };
364 366
365 } // namespace dart 367 } // namespace dart
366 368
367 #endif // VM_BOOTSTRAP_NATIVES_H_ 369 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698