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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 V(JSSyntaxRegExp_getIsMultiLine, 1) \ | 87 V(JSSyntaxRegExp_getIsMultiLine, 1) \ |
88 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ | 88 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ |
89 V(JSSyntaxRegExp_getGroupCount, 1) \ | 89 V(JSSyntaxRegExp_getGroupCount, 1) \ |
90 V(JSSyntaxRegExp_ExecuteMatch, 3) \ | 90 V(JSSyntaxRegExp_ExecuteMatch, 3) \ |
91 V(List_allocate, 2) \ | 91 V(List_allocate, 2) \ |
92 V(List_getIndexed, 2) \ | 92 V(List_getIndexed, 2) \ |
93 V(List_setIndexed, 3) \ | 93 V(List_setIndexed, 3) \ |
94 V(List_getLength, 1) \ | 94 V(List_getLength, 1) \ |
95 V(List_copyFromObjectArray, 5) \ | 95 V(List_copyFromObjectArray, 5) \ |
96 V(ImmutableList_from, 4) \ | 96 V(ImmutableList_from, 4) \ |
97 V(StringBase_createFromCodePoints, 1) \ | 97 V(StringBase_createFromCodePoints, 3) \ |
98 V(StringBase_substringUnchecked, 3) \ | 98 V(StringBase_substringUnchecked, 3) \ |
99 V(StringBuffer_createStringFromUint16Array, 3) \ | 99 V(StringBuffer_createStringFromUint16Array, 3) \ |
100 V(OneByteString_substringUnchecked, 3) \ | 100 V(OneByteString_substringUnchecked, 3) \ |
101 V(OneByteString_splitWithCharCode, 2) \ | 101 V(OneByteString_splitWithCharCode, 2) \ |
102 V(OneByteString_allocate, 1) \ | 102 V(OneByteString_allocate, 1) \ |
103 V(OneByteString_allocateFromOneByteList, 1) \ | 103 V(OneByteString_allocateFromOneByteList, 3) \ |
104 V(OneByteString_setAt, 3) \ | 104 V(OneByteString_setAt, 3) \ |
105 V(ExternalOneByteString_getCid, 0) \ | 105 V(ExternalOneByteString_getCid, 0) \ |
106 V(String_getHashCode, 1) \ | 106 V(String_getHashCode, 1) \ |
107 V(String_getLength, 1) \ | 107 V(String_getLength, 1) \ |
108 V(String_charAt, 2) \ | 108 V(String_charAt, 2) \ |
109 V(String_codeUnitAt, 2) \ | 109 V(String_codeUnitAt, 2) \ |
110 V(String_concat, 2) \ | 110 V(String_concat, 2) \ |
111 V(String_fromEnvironment, 3) \ | 111 V(String_fromEnvironment, 3) \ |
112 V(String_toLowerCase, 1) \ | 112 V(String_toLowerCase, 1) \ |
113 V(String_toUpperCase, 1) \ | 113 V(String_toUpperCase, 1) \ |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 static void DN_##name(Dart_NativeArguments args); | 384 static void DN_##name(Dart_NativeArguments args); |
385 | 385 |
386 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 386 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
387 | 387 |
388 #undef DECLARE_BOOTSTRAP_NATIVE | 388 #undef DECLARE_BOOTSTRAP_NATIVE |
389 }; | 389 }; |
390 | 390 |
391 } // namespace dart | 391 } // namespace dart |
392 | 392 |
393 #endif // VM_BOOTSTRAP_NATIVES_H_ | 393 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |