OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 V(MathNatives_parseInt, 1) \ | 87 V(MathNatives_parseInt, 1) \ |
88 V(MathNatives_parseDouble, 1) \ | 88 V(MathNatives_parseDouble, 1) \ |
89 V(DateNatives_brokenDownToSecondsSinceEpoch, 7) \ | 89 V(DateNatives_brokenDownToSecondsSinceEpoch, 7) \ |
90 V(DateNatives_currentTimeMillis, 0) \ | 90 V(DateNatives_currentTimeMillis, 0) \ |
91 V(DateNatives_getYear, 2) \ | 91 V(DateNatives_getYear, 2) \ |
92 V(DateNatives_getMonth, 2) \ | 92 V(DateNatives_getMonth, 2) \ |
93 V(DateNatives_getDay, 2) \ | 93 V(DateNatives_getDay, 2) \ |
94 V(DateNatives_getHours, 2) \ | 94 V(DateNatives_getHours, 2) \ |
95 V(DateNatives_getMinutes, 2) \ | 95 V(DateNatives_getMinutes, 2) \ |
96 V(DateNatives_getSeconds, 2) \ | 96 V(DateNatives_getSeconds, 2) \ |
97 V(AssertError_throwNew, 2) \ | 97 V(AssertionError_throwNew, 2) \ |
98 V(FallThroughError_throwNew, 1) \ | 98 V(FallThroughError_throwNew, 1) \ |
99 V(Clock_now, 0) \ | 99 V(Clock_now, 0) \ |
100 V(Clock_frequency, 0) \ | 100 V(Clock_frequency, 0) \ |
101 | 101 |
102 | 102 |
103 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) | 103 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) |
104 | 104 |
105 } // namespace dart | 105 } // namespace dart |
106 | 106 |
107 #endif // VM_BOOTSTRAP_NATIVES_H_ | 107 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |