| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 V(DateNatives_getHours, 2) \ | 100 V(DateNatives_getHours, 2) \ |
| 101 V(DateNatives_getMinutes, 2) \ | 101 V(DateNatives_getMinutes, 2) \ |
| 102 V(DateNatives_getSeconds, 2) \ | 102 V(DateNatives_getSeconds, 2) \ |
| 103 V(AssertionError_throwNew, 2) \ | 103 V(AssertionError_throwNew, 2) \ |
| 104 V(TypeError_throwNew, 5) \ | 104 V(TypeError_throwNew, 5) \ |
| 105 V(FallThroughError_throwNew, 1) \ | 105 V(FallThroughError_throwNew, 1) \ |
| 106 V(StaticResolutionException_throwNew, 1) \ | 106 V(StaticResolutionException_throwNew, 1) \ |
| 107 V(Clock_now, 0) \ | 107 V(Clock_now, 0) \ |
| 108 V(Clock_frequency, 0) \ | 108 V(Clock_frequency, 0) \ |
| 109 V(ByteArray_getLength, 1) \ | 109 V(ByteArray_getLength, 1) \ |
| 110 V(ByteArray_getInt8, 2) \ | |
| 111 V(ByteArray_setInt8, 3) \ | |
| 112 V(ByteArray_getUint8, 2) \ | |
| 113 V(ByteArray_setUint8, 3) \ | |
| 114 V(ByteArray_getInt16, 2) \ | |
| 115 V(ByteArray_setInt16, 3) \ | |
| 116 V(ByteArray_getUint16, 2) \ | |
| 117 V(ByteArray_setUint16, 3) \ | |
| 118 V(ByteArray_getInt32, 2) \ | |
| 119 V(ByteArray_setInt32, 3) \ | |
| 120 V(ByteArray_getUint32, 2) \ | |
| 121 V(ByteArray_setUint32, 3) \ | |
| 122 V(ByteArray_getInt64, 2) \ | |
| 123 V(ByteArray_setInt64, 3) \ | |
| 124 V(ByteArray_getUint64, 2) \ | |
| 125 V(ByteArray_setUint64, 3) \ | |
| 126 V(ByteArray_getFloat32, 2) \ | |
| 127 V(ByteArray_setFloat32, 3) \ | |
| 128 V(ByteArray_getFloat64, 2) \ | |
| 129 V(ByteArray_setFloat64, 3) \ | |
| 130 V(ByteArray_setRange, 5) \ | 110 V(ByteArray_setRange, 5) \ |
| 131 V(Int8Array_new, 1) \ | 111 V(InternalByteArray_allocate, 1) \ |
| 132 V(Int8Array_getIndexed, 2) \ | 112 V(InternalByteArray_getInt8, 2) \ |
| 133 V(Int8Array_setIndexed, 3) \ | 113 V(InternalByteArray_setInt8, 3) \ |
| 134 V(Uint8Array_new, 1) \ | 114 V(InternalByteArray_getUint8, 2) \ |
| 135 V(Uint8Array_getIndexed, 2) \ | 115 V(InternalByteArray_setUint8, 3) \ |
| 136 V(Uint8Array_setIndexed, 3) \ | 116 V(InternalByteArray_getInt16, 2) \ |
| 137 V(Int16Array_new, 1) \ | 117 V(InternalByteArray_setInt16, 3) \ |
| 138 V(Int16Array_getIndexed, 2) \ | 118 V(InternalByteArray_getUint16, 2) \ |
| 139 V(Int16Array_setIndexed, 3) \ | 119 V(InternalByteArray_setUint16, 3) \ |
| 140 V(Uint16Array_new, 1) \ | 120 V(InternalByteArray_getInt32, 2) \ |
| 141 V(Uint16Array_getIndexed, 2) \ | 121 V(InternalByteArray_setInt32, 3) \ |
| 142 V(Uint16Array_setIndexed, 3) \ | 122 V(InternalByteArray_getUint32, 2) \ |
| 143 V(Int32Array_new, 1) \ | 123 V(InternalByteArray_setUint32, 3) \ |
| 144 V(Int32Array_getIndexed, 2) \ | 124 V(InternalByteArray_getInt64, 2) \ |
| 145 V(Int32Array_setIndexed, 3) \ | 125 V(InternalByteArray_setInt64, 3) \ |
| 146 V(Uint32Array_new, 1) \ | 126 V(InternalByteArray_getUint64, 2) \ |
| 147 V(Uint32Array_getIndexed, 2) \ | 127 V(InternalByteArray_setUint64, 3) \ |
| 148 V(Uint32Array_setIndexed, 3) \ | 128 V(InternalByteArray_getFloat32, 2) \ |
| 149 V(Int64Array_new, 1) \ | 129 V(InternalByteArray_setFloat32, 3) \ |
| 150 V(Int64Array_getIndexed, 2) \ | 130 V(InternalByteArray_getFloat64, 2) \ |
| 151 V(Int64Array_setIndexed, 3) \ | 131 V(InternalByteArray_setFloat64, 3) \ |
| 152 V(Uint64Array_new, 1) \ | 132 V(ExternalByteArray_getInt8, 2) \ |
| 153 V(Uint64Array_getIndexed, 2) \ | 133 V(ExternalByteArray_setInt8, 3) \ |
| 154 V(Uint64Array_setIndexed, 3) \ | 134 V(ExternalByteArray_getUint8, 2) \ |
| 155 V(Float32Array_new, 1) \ | 135 V(ExternalByteArray_setUint8, 3) \ |
| 156 V(Float32Array_getIndexed, 2) \ | 136 V(ExternalByteArray_getInt16, 2) \ |
| 157 V(Float32Array_setIndexed, 3) \ | 137 V(ExternalByteArray_setInt16, 3) \ |
| 158 V(Float64Array_new, 1) \ | 138 V(ExternalByteArray_getUint16, 2) \ |
| 159 V(Float64Array_getIndexed, 2) \ | 139 V(ExternalByteArray_setUint16, 3) \ |
| 160 V(Float64Array_setIndexed, 3) \ | 140 V(ExternalByteArray_getInt32, 2) \ |
| 161 V(ExternalInt8Array_getIndexed, 2) \ | 141 V(ExternalByteArray_setInt32, 3) \ |
| 162 V(ExternalInt8Array_setIndexed, 3) \ | 142 V(ExternalByteArray_getUint32, 2) \ |
| 163 V(ExternalUint8Array_getIndexed, 2) \ | 143 V(ExternalByteArray_setUint32, 3) \ |
| 164 V(ExternalUint8Array_setIndexed, 3) \ | 144 V(ExternalByteArray_getInt64, 2) \ |
| 165 V(ExternalInt16Array_getIndexed, 2) \ | 145 V(ExternalByteArray_setInt64, 3) \ |
| 166 V(ExternalInt16Array_setIndexed, 3) \ | 146 V(ExternalByteArray_getUint64, 2) \ |
| 167 V(ExternalUint16Array_getIndexed, 2) \ | 147 V(ExternalByteArray_setUint64, 3) \ |
| 168 V(ExternalUint16Array_setIndexed, 3) \ | 148 V(ExternalByteArray_getFloat32, 2) \ |
| 169 V(ExternalInt32Array_getIndexed, 2) \ | 149 V(ExternalByteArray_setFloat32, 3) \ |
| 170 V(ExternalInt32Array_setIndexed, 3) \ | 150 V(ExternalByteArray_getFloat64, 2) \ |
| 171 V(ExternalUint32Array_getIndexed, 2) \ | 151 V(ExternalByteArray_setFloat64, 3) \ |
| 172 V(ExternalUint32Array_setIndexed, 3) \ | |
| 173 V(ExternalInt64Array_getIndexed, 2) \ | |
| 174 V(ExternalInt64Array_setIndexed, 3) \ | |
| 175 V(ExternalUint64Array_getIndexed, 2) \ | |
| 176 V(ExternalUint64Array_setIndexed, 3) \ | |
| 177 V(ExternalFloat32Array_getIndexed, 2) \ | |
| 178 V(ExternalFloat32Array_setIndexed, 3) \ | |
| 179 V(ExternalFloat64Array_getIndexed, 2) \ | |
| 180 V(ExternalFloat64Array_setIndexed, 3) \ | |
| 181 V(isolate_getPortInternal, 0) \ | 152 V(isolate_getPortInternal, 0) \ |
| 182 V(isolate_spawnFunction, 1) \ | 153 V(isolate_spawnFunction, 1) \ |
| 183 V(Mirrors_processResponse, 3) \ | 154 V(Mirrors_processResponse, 3) \ |
| 184 V(Mirrors_send, 3) \ | 155 V(Mirrors_send, 3) \ |
| 185 V(GrowableObjectArray_allocate, 2) \ | 156 V(GrowableObjectArray_allocate, 2) \ |
| 186 V(GrowableObjectArray_getIndexed, 2) \ | 157 V(GrowableObjectArray_getIndexed, 2) \ |
| 187 V(GrowableObjectArray_setIndexed, 3) \ | 158 V(GrowableObjectArray_setIndexed, 3) \ |
| 188 V(GrowableObjectArray_getLength, 1) \ | 159 V(GrowableObjectArray_getLength, 1) \ |
| 189 V(GrowableObjectArray_getCapacity, 1) \ | 160 V(GrowableObjectArray_getCapacity, 1) \ |
| 190 V(GrowableObjectArray_setLength, 2) \ | 161 V(GrowableObjectArray_setLength, 2) \ |
| 191 V(GrowableObjectArray_setData, 2) \ | 162 V(GrowableObjectArray_setData, 2) \ |
| 192 | 163 |
| 193 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) | 164 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) |
| 194 | 165 |
| 195 } // namespace dart | 166 } // namespace dart |
| 196 | 167 |
| 197 #endif // VM_BOOTSTRAP_NATIVES_H_ | 168 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |