| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 V(DateNatives_currentTimeMillis, 0) \ | 95 V(DateNatives_currentTimeMillis, 0) \ |
| 96 V(DateNatives_getYear, 2) \ | 96 V(DateNatives_getYear, 2) \ |
| 97 V(DateNatives_getMonth, 2) \ | 97 V(DateNatives_getMonth, 2) \ |
| 98 V(DateNatives_getDay, 2) \ | 98 V(DateNatives_getDay, 2) \ |
| 99 V(DateNatives_getHours, 2) \ | 99 V(DateNatives_getHours, 2) \ |
| 100 V(DateNatives_getMinutes, 2) \ | 100 V(DateNatives_getMinutes, 2) \ |
| 101 V(DateNatives_getSeconds, 2) \ | 101 V(DateNatives_getSeconds, 2) \ |
| 102 V(AssertionError_throwNew, 2) \ | 102 V(AssertionError_throwNew, 2) \ |
| 103 V(TypeError_throwNew, 4) \ | 103 V(TypeError_throwNew, 4) \ |
| 104 V(FallThroughError_throwNew, 1) \ | 104 V(FallThroughError_throwNew, 1) \ |
| 105 V(StaticResolutionException_throwNew, 1) \ |
| 105 V(Clock_now, 0) \ | 106 V(Clock_now, 0) \ |
| 106 V(Clock_frequency, 0) \ | 107 V(Clock_frequency, 0) \ |
| 107 V(ByteArray_getLength, 1) \ | 108 V(ByteArray_getLength, 1) \ |
| 108 V(ByteArray_setRange, 5) \ | 109 V(ByteArray_setRange, 5) \ |
| 109 V(InternalByteArray_allocate, 1) \ | 110 V(InternalByteArray_allocate, 1) \ |
| 110 V(InternalByteArray_getInt8, 2) \ | 111 V(InternalByteArray_getInt8, 2) \ |
| 111 V(InternalByteArray_setInt8, 3) \ | 112 V(InternalByteArray_setInt8, 3) \ |
| 112 V(InternalByteArray_getUint8, 2) \ | 113 V(InternalByteArray_getUint8, 2) \ |
| 113 V(InternalByteArray_setUint8, 3) \ | 114 V(InternalByteArray_setUint8, 3) \ |
| 114 V(InternalByteArray_getInt16, 2) \ | 115 V(InternalByteArray_getInt16, 2) \ |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 V(ExternalByteArray_setFloat32, 3) \ | 148 V(ExternalByteArray_setFloat32, 3) \ |
| 148 V(ExternalByteArray_getFloat64, 2) \ | 149 V(ExternalByteArray_getFloat64, 2) \ |
| 149 V(ExternalByteArray_setFloat64, 3) \ | 150 V(ExternalByteArray_setFloat64, 3) \ |
| 150 | 151 |
| 151 | 152 |
| 152 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) | 153 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) |
| 153 | 154 |
| 154 } // namespace dart | 155 } // namespace dart |
| 155 | 156 |
| 156 #endif // VM_BOOTSTRAP_NATIVES_H_ | 157 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |