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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 V(Double_doubleFromInteger, 2) \ | 66 V(Double_doubleFromInteger, 2) \ |
67 V(Double_round, 1) \ | 67 V(Double_round, 1) \ |
68 V(Double_floor, 1) \ | 68 V(Double_floor, 1) \ |
69 V(Double_ceil, 1) \ | 69 V(Double_ceil, 1) \ |
70 V(Double_truncate, 1) \ | 70 V(Double_truncate, 1) \ |
71 V(Double_toInt, 1) \ | 71 V(Double_toInt, 1) \ |
72 V(Double_parse, 1) \ | 72 V(Double_parse, 1) \ |
73 V(Double_toStringAsFixed, 2) \ | 73 V(Double_toStringAsFixed, 2) \ |
74 V(Double_toStringAsExponential, 2) \ | 74 V(Double_toStringAsExponential, 2) \ |
75 V(Double_toStringAsPrecision, 2) \ | 75 V(Double_toStringAsPrecision, 2) \ |
76 V(Double_pow, 2) \ | |
77 V(JSSyntaxRegExp_factory, 4) \ | 76 V(JSSyntaxRegExp_factory, 4) \ |
78 V(JSSyntaxRegExp_getPattern, 1) \ | 77 V(JSSyntaxRegExp_getPattern, 1) \ |
79 V(JSSyntaxRegExp_getIsMultiLine, 1) \ | 78 V(JSSyntaxRegExp_getIsMultiLine, 1) \ |
80 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ | 79 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ |
81 V(JSSyntaxRegExp_getGroupCount, 1) \ | 80 V(JSSyntaxRegExp_getGroupCount, 1) \ |
82 V(JSSyntaxRegExp_ExecuteMatch, 3) \ | 81 V(JSSyntaxRegExp_ExecuteMatch, 3) \ |
83 V(ObjectArray_allocate, 2) \ | 82 V(ObjectArray_allocate, 2) \ |
84 V(ObjectArray_getIndexed, 2) \ | 83 V(ObjectArray_getIndexed, 2) \ |
85 V(ObjectArray_setIndexed, 3) \ | 84 V(ObjectArray_setIndexed, 3) \ |
86 V(ObjectArray_getLength, 1) \ | 85 V(ObjectArray_getLength, 1) \ |
(...skipping 16 matching lines...) Expand all Loading... |
103 V(Math_sqrt, 1) \ | 102 V(Math_sqrt, 1) \ |
104 V(Math_sin, 1) \ | 103 V(Math_sin, 1) \ |
105 V(Math_cos, 1) \ | 104 V(Math_cos, 1) \ |
106 V(Math_tan, 1) \ | 105 V(Math_tan, 1) \ |
107 V(Math_asin, 1) \ | 106 V(Math_asin, 1) \ |
108 V(Math_acos, 1) \ | 107 V(Math_acos, 1) \ |
109 V(Math_atan, 1) \ | 108 V(Math_atan, 1) \ |
110 V(Math_atan2, 2) \ | 109 V(Math_atan2, 2) \ |
111 V(Math_exp, 1) \ | 110 V(Math_exp, 1) \ |
112 V(Math_log, 1) \ | 111 V(Math_log, 1) \ |
| 112 V(Math_doublePow, 2) \ |
113 V(Random_nextState, 1) \ | 113 V(Random_nextState, 1) \ |
114 V(Random_setupSeed, 2) \ | 114 V(Random_setupSeed, 2) \ |
115 V(DateNatives_currentTimeMillis, 0) \ | 115 V(DateNatives_currentTimeMillis, 0) \ |
116 V(DateNatives_timeZoneName, 1) \ | 116 V(DateNatives_timeZoneName, 1) \ |
117 V(DateNatives_timeZoneOffsetInSeconds, 1) \ | 117 V(DateNatives_timeZoneOffsetInSeconds, 1) \ |
118 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ | 118 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ |
119 V(AssertionError_throwNew, 2) \ | 119 V(AssertionError_throwNew, 2) \ |
120 V(TypeError_throwNew, 5) \ | 120 V(TypeError_throwNew, 5) \ |
121 V(FallThroughError_throwNew, 1) \ | 121 V(FallThroughError_throwNew, 1) \ |
122 V(AbstractClassInstantiationError_throwNew, 2) \ | 122 V(AbstractClassInstantiationError_throwNew, 2) \ |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 static void DN_##name(Dart_NativeArguments args); | 303 static void DN_##name(Dart_NativeArguments args); |
304 | 304 |
305 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 305 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
306 | 306 |
307 #undef DECLARE_BOOTSTRAP_NATIVE | 307 #undef DECLARE_BOOTSTRAP_NATIVE |
308 }; | 308 }; |
309 | 309 |
310 } // namespace dart | 310 } // namespace dart |
311 | 311 |
312 #endif // VM_BOOTSTRAP_NATIVES_H_ | 312 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |