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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 V(Double_equalToInteger, 2) \ | 88 V(Double_equalToInteger, 2) \ |
89 V(Double_greaterThan, 2) \ | 89 V(Double_greaterThan, 2) \ |
90 V(Double_equal, 2) \ | 90 V(Double_equal, 2) \ |
91 V(Double_doubleFromInteger, 2) \ | 91 V(Double_doubleFromInteger, 2) \ |
92 V(Double_round, 1) \ | 92 V(Double_round, 1) \ |
93 V(Double_floor, 1) \ | 93 V(Double_floor, 1) \ |
94 V(Double_ceil, 1) \ | 94 V(Double_ceil, 1) \ |
95 V(Double_truncate, 1) \ | 95 V(Double_truncate, 1) \ |
96 V(Double_toInt, 1) \ | 96 V(Double_toInt, 1) \ |
97 V(Double_parse, 3) \ | 97 V(Double_parse, 3) \ |
| 98 V(Double_toString, 1) \ |
98 V(Double_toStringAsFixed, 2) \ | 99 V(Double_toStringAsFixed, 2) \ |
99 V(Double_toStringAsExponential, 2) \ | 100 V(Double_toStringAsExponential, 2) \ |
100 V(Double_toStringAsPrecision, 2) \ | 101 V(Double_toStringAsPrecision, 2) \ |
101 V(Double_flipSignBit, 1) \ | 102 V(Double_flipSignBit, 1) \ |
102 V(RegExp_factory, 4) \ | 103 V(RegExp_factory, 4) \ |
103 V(RegExp_getPattern, 1) \ | 104 V(RegExp_getPattern, 1) \ |
104 V(RegExp_getIsMultiLine, 1) \ | 105 V(RegExp_getIsMultiLine, 1) \ |
105 V(RegExp_getIsCaseSensitive, 1) \ | 106 V(RegExp_getIsCaseSensitive, 1) \ |
106 V(RegExp_getGroupCount, 1) \ | 107 V(RegExp_getGroupCount, 1) \ |
107 V(RegExp_ExecuteMatch, 3) \ | 108 V(RegExp_ExecuteMatch, 3) \ |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 V(LibraryPrefix_load, 1) \ | 346 V(LibraryPrefix_load, 1) \ |
346 V(LibraryPrefix_invalidateDependentCode, 1) \ | 347 V(LibraryPrefix_invalidateDependentCode, 1) \ |
347 V(LibraryPrefix_loadError, 1) \ | 348 V(LibraryPrefix_loadError, 1) \ |
348 V(LibraryPrefix_isLoaded, 1) \ | 349 V(LibraryPrefix_isLoaded, 1) \ |
349 V(UserTag_new, 2) \ | 350 V(UserTag_new, 2) \ |
350 V(UserTag_label, 1) \ | 351 V(UserTag_label, 1) \ |
351 V(UserTag_defaultTag, 0) \ | 352 V(UserTag_defaultTag, 0) \ |
352 V(UserTag_makeCurrent, 1) \ | 353 V(UserTag_makeCurrent, 1) \ |
353 V(Profiler_getCurrentTag, 0) \ | 354 V(Profiler_getCurrentTag, 0) \ |
354 V(ClassID_getID, 1) \ | 355 V(ClassID_getID, 1) \ |
355 V(Num_toString, 1) \ | |
356 V(VMService_SendIsolateServiceMessage, 2) \ | 356 V(VMService_SendIsolateServiceMessage, 2) \ |
357 V(VMService_SendRootServiceMessage, 1) \ | 357 V(VMService_SendRootServiceMessage, 1) \ |
358 V(VMService_OnStart, 0) \ | 358 V(VMService_OnStart, 0) \ |
359 V(VMService_OnExit, 0) \ | 359 V(VMService_OnExit, 0) \ |
360 V(VMService_OnServerAddressChange, 1) \ | 360 V(VMService_OnServerAddressChange, 1) \ |
361 V(VMService_ListenStream, 1) \ | 361 V(VMService_ListenStream, 1) \ |
362 V(VMService_CancelStream, 1) \ | 362 V(VMService_CancelStream, 1) \ |
363 V(VMService_RequestAssets, 0) \ | 363 V(VMService_RequestAssets, 0) \ |
364 V(VMService_DecodeAssets, 1) \ | 364 V(VMService_DecodeAssets, 1) \ |
365 | 365 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 #ifndef PRODUCT | 430 #ifndef PRODUCT |
431 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 431 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
432 #endif | 432 #endif |
433 | 433 |
434 #undef DECLARE_BOOTSTRAP_NATIVE | 434 #undef DECLARE_BOOTSTRAP_NATIVE |
435 }; | 435 }; |
436 | 436 |
437 } // namespace dart | 437 } // namespace dart |
438 | 438 |
439 #endif // VM_BOOTSTRAP_NATIVES_H_ | 439 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |