Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(409)

Side by Side Diff: runtime/vm/bootstrap_natives.h

Issue 10379018: Revert "Revert "Implement {Int,Uint}{8,16,32,64} and Float{32,64} typed arrays."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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) \
110 V(ByteArray_setRange, 5) \ 130 V(ByteArray_setRange, 5) \
111 V(InternalByteArray_allocate, 1) \ 131 V(Int8Array_new, 1) \
112 V(InternalByteArray_getInt8, 2) \ 132 V(Int8Array_getIndexed, 2) \
113 V(InternalByteArray_setInt8, 3) \ 133 V(Int8Array_setIndexed, 3) \
114 V(InternalByteArray_getUint8, 2) \ 134 V(Uint8Array_new, 1) \
115 V(InternalByteArray_setUint8, 3) \ 135 V(Uint8Array_getIndexed, 2) \
116 V(InternalByteArray_getInt16, 2) \ 136 V(Uint8Array_setIndexed, 3) \
117 V(InternalByteArray_setInt16, 3) \ 137 V(Int16Array_new, 1) \
118 V(InternalByteArray_getUint16, 2) \ 138 V(Int16Array_getIndexed, 2) \
119 V(InternalByteArray_setUint16, 3) \ 139 V(Int16Array_setIndexed, 3) \
120 V(InternalByteArray_getInt32, 2) \ 140 V(Uint16Array_new, 1) \
121 V(InternalByteArray_setInt32, 3) \ 141 V(Uint16Array_getIndexed, 2) \
122 V(InternalByteArray_getUint32, 2) \ 142 V(Uint16Array_setIndexed, 3) \
123 V(InternalByteArray_setUint32, 3) \ 143 V(Int32Array_new, 1) \
124 V(InternalByteArray_getInt64, 2) \ 144 V(Int32Array_getIndexed, 2) \
125 V(InternalByteArray_setInt64, 3) \ 145 V(Int32Array_setIndexed, 3) \
126 V(InternalByteArray_getUint64, 2) \ 146 V(Uint32Array_new, 1) \
127 V(InternalByteArray_setUint64, 3) \ 147 V(Uint32Array_getIndexed, 2) \
128 V(InternalByteArray_getFloat32, 2) \ 148 V(Uint32Array_setIndexed, 3) \
129 V(InternalByteArray_setFloat32, 3) \ 149 V(Int64Array_new, 1) \
130 V(InternalByteArray_getFloat64, 2) \ 150 V(Int64Array_getIndexed, 2) \
131 V(InternalByteArray_setFloat64, 3) \ 151 V(Int64Array_setIndexed, 3) \
132 V(ExternalByteArray_getInt8, 2) \ 152 V(Uint64Array_new, 1) \
133 V(ExternalByteArray_setInt8, 3) \ 153 V(Uint64Array_getIndexed, 2) \
134 V(ExternalByteArray_getUint8, 2) \ 154 V(Uint64Array_setIndexed, 3) \
135 V(ExternalByteArray_setUint8, 3) \ 155 V(Float32Array_new, 1) \
136 V(ExternalByteArray_getInt16, 2) \ 156 V(Float32Array_getIndexed, 2) \
137 V(ExternalByteArray_setInt16, 3) \ 157 V(Float32Array_setIndexed, 3) \
138 V(ExternalByteArray_getUint16, 2) \ 158 V(Float64Array_new, 1) \
139 V(ExternalByteArray_setUint16, 3) \ 159 V(Float64Array_getIndexed, 2) \
140 V(ExternalByteArray_getInt32, 2) \ 160 V(Float64Array_setIndexed, 3) \
141 V(ExternalByteArray_setInt32, 3) \ 161 V(ExternalInt8Array_getIndexed, 2) \
142 V(ExternalByteArray_getUint32, 2) \ 162 V(ExternalInt8Array_setIndexed, 3) \
143 V(ExternalByteArray_setUint32, 3) \ 163 V(ExternalUint8Array_getIndexed, 2) \
144 V(ExternalByteArray_getInt64, 2) \ 164 V(ExternalUint8Array_setIndexed, 3) \
145 V(ExternalByteArray_setInt64, 3) \ 165 V(ExternalInt16Array_getIndexed, 2) \
146 V(ExternalByteArray_getUint64, 2) \ 166 V(ExternalInt16Array_setIndexed, 3) \
147 V(ExternalByteArray_setUint64, 3) \ 167 V(ExternalUint16Array_getIndexed, 2) \
148 V(ExternalByteArray_getFloat32, 2) \ 168 V(ExternalUint16Array_setIndexed, 3) \
149 V(ExternalByteArray_setFloat32, 3) \ 169 V(ExternalInt32Array_getIndexed, 2) \
150 V(ExternalByteArray_getFloat64, 2) \ 170 V(ExternalInt32Array_setIndexed, 3) \
151 V(ExternalByteArray_setFloat64, 3) \ 171 V(ExternalUint32Array_getIndexed, 2) \
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) \
152 V(isolate_getPortInternal, 0) \ 181 V(isolate_getPortInternal, 0) \
153 V(isolate_spawnFunction, 1) \ 182 V(isolate_spawnFunction, 1) \
154 V(Mirrors_processResponse, 3) \ 183 V(Mirrors_processResponse, 3) \
155 V(Mirrors_send, 3) \ 184 V(Mirrors_send, 3) \
156 V(GrowableObjectArray_allocate, 2) \ 185 V(GrowableObjectArray_allocate, 2) \
157 V(GrowableObjectArray_getIndexed, 2) \ 186 V(GrowableObjectArray_getIndexed, 2) \
158 V(GrowableObjectArray_setIndexed, 3) \ 187 V(GrowableObjectArray_setIndexed, 3) \
159 V(GrowableObjectArray_getLength, 1) \ 188 V(GrowableObjectArray_getLength, 1) \
160 V(GrowableObjectArray_getCapacity, 1) \ 189 V(GrowableObjectArray_getCapacity, 1) \
161 V(GrowableObjectArray_setLength, 2) \ 190 V(GrowableObjectArray_setLength, 2) \
162 V(GrowableObjectArray_setData, 2) \ 191 V(GrowableObjectArray_setData, 2) \
163 192
164 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) 193 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY)
165 194
166 } // namespace dart 195 } // namespace dart
167 196
168 #endif // VM_BOOTSTRAP_NATIVES_H_ 197 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698