| OLD | NEW |
| 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 V(VMService_SendIsolateServiceMessage, 2) \ | 358 V(VMService_SendIsolateServiceMessage, 2) \ |
| 359 V(VMService_SendRootServiceMessage, 1) \ | 359 V(VMService_SendRootServiceMessage, 1) \ |
| 360 V(VMService_SendObjectRootServiceMessage, 1) \ | 360 V(VMService_SendObjectRootServiceMessage, 1) \ |
| 361 V(VMService_OnStart, 0) \ | 361 V(VMService_OnStart, 0) \ |
| 362 V(VMService_OnExit, 0) \ | 362 V(VMService_OnExit, 0) \ |
| 363 V(VMService_OnServerAddressChange, 1) \ | 363 V(VMService_OnServerAddressChange, 1) \ |
| 364 V(VMService_ListenStream, 1) \ | 364 V(VMService_ListenStream, 1) \ |
| 365 V(VMService_CancelStream, 1) \ | 365 V(VMService_CancelStream, 1) \ |
| 366 V(VMService_RequestAssets, 0) \ | 366 V(VMService_RequestAssets, 0) \ |
| 367 V(VMService_DecodeAssets, 1) \ | 367 V(VMService_DecodeAssets, 1) \ |
| 368 V(VMService_spawnUriNotify, 2) \ |
| 368 | 369 |
| 369 // List of bootstrap native entry points used in the dart:mirror library. | 370 // List of bootstrap native entry points used in the dart:mirror library. |
| 370 #define MIRRORS_BOOTSTRAP_NATIVE_LIST(V) \ | 371 #define MIRRORS_BOOTSTRAP_NATIVE_LIST(V) \ |
| 371 V(Mirrors_evalInLibraryWithPrivateKey, 2) \ | 372 V(Mirrors_evalInLibraryWithPrivateKey, 2) \ |
| 372 V(Mirrors_makeLocalClassMirror, 1) \ | 373 V(Mirrors_makeLocalClassMirror, 1) \ |
| 373 V(Mirrors_makeLocalTypeMirror, 1) \ | 374 V(Mirrors_makeLocalTypeMirror, 1) \ |
| 374 V(Mirrors_mangleName, 2) \ | 375 V(Mirrors_mangleName, 2) \ |
| 375 V(MirrorReference_equals, 2) \ | 376 V(MirrorReference_equals, 2) \ |
| 376 V(MirrorSystem_libraries, 0) \ | 377 V(MirrorSystem_libraries, 0) \ |
| 377 V(MirrorSystem_isolate, 0) \ | 378 V(MirrorSystem_isolate, 0) \ |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 #ifndef PRODUCT | 434 #ifndef PRODUCT |
| 434 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 435 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 435 #endif | 436 #endif |
| 436 | 437 |
| 437 #undef DECLARE_BOOTSTRAP_NATIVE | 438 #undef DECLARE_BOOTSTRAP_NATIVE |
| 438 }; | 439 }; |
| 439 | 440 |
| 440 } // namespace dart | 441 } // namespace dart |
| 441 | 442 |
| 442 #endif // VM_BOOTSTRAP_NATIVES_H_ | 443 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |