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

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

Issue 11437028: Added Uint8ClampedList. COmpielr optimziations to follow in next CL. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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
« no previous file with comments | « runtime/lib/byte_array.dart ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 V(ByteArray_getInt64, 2) \ 121 V(ByteArray_getInt64, 2) \
122 V(ByteArray_setInt64, 3) \ 122 V(ByteArray_setInt64, 3) \
123 V(ByteArray_getUint64, 2) \ 123 V(ByteArray_getUint64, 2) \
124 V(ByteArray_setUint64, 3) \ 124 V(ByteArray_setUint64, 3) \
125 V(ByteArray_getFloat32, 2) \ 125 V(ByteArray_getFloat32, 2) \
126 V(ByteArray_setFloat32, 3) \ 126 V(ByteArray_setFloat32, 3) \
127 V(ByteArray_getFloat64, 2) \ 127 V(ByteArray_getFloat64, 2) \
128 V(ByteArray_setFloat64, 3) \ 128 V(ByteArray_setFloat64, 3) \
129 V(ByteArray_setRange, 5) \ 129 V(ByteArray_setRange, 5) \
130 V(Int8Array_new, 1) \ 130 V(Int8Array_new, 1) \
131 V(Int8Array_newTransferable, 1) \ 131 V(Int8Array_newTransferable, 1) \
132 V(Int8Array_getIndexed, 2) \ 132 V(Int8Array_getIndexed, 2) \
133 V(Int8Array_setIndexed, 3) \ 133 V(Int8Array_setIndexed, 3) \
134 V(Uint8Array_new, 1) \ 134 V(Uint8Array_new, 1) \
135 V(Uint8Array_newTransferable, 1) \ 135 V(Uint8Array_newTransferable, 1) \
136 V(Uint8Array_getIndexed, 2) \ 136 V(Uint8Array_getIndexed, 2) \
137 V(Uint8Array_setIndexed, 3) \ 137 V(Uint8Array_setIndexed, 3) \
138 V(Uint8ClampedArray_new, 1) \
139 V(Uint8ClampedArray_newTransferable, 1) \
138 V(Int16Array_new, 1) \ 140 V(Int16Array_new, 1) \
139 V(Int16Array_newTransferable, 1) \ 141 V(Int16Array_newTransferable, 1) \
140 V(Int16Array_getIndexed, 2) \ 142 V(Int16Array_getIndexed, 2) \
141 V(Int16Array_setIndexed, 3) \ 143 V(Int16Array_setIndexed, 3) \
142 V(Uint16Array_new, 1) \ 144 V(Uint16Array_new, 1) \
143 V(Uint16Array_newTransferable, 1) \ 145 V(Uint16Array_newTransferable, 1) \
144 V(Uint16Array_getIndexed, 2) \ 146 V(Uint16Array_getIndexed, 2) \
145 V(Uint16Array_setIndexed, 3) \ 147 V(Uint16Array_setIndexed, 3) \
146 V(Int32Array_new, 1) \ 148 V(Int32Array_new, 1) \
147 V(Int32Array_newTransferable, 1) \ 149 V(Int32Array_newTransferable, 1) \
148 V(Int32Array_getIndexed, 2) \ 150 V(Int32Array_getIndexed, 2) \
149 V(Int32Array_setIndexed, 3) \ 151 V(Int32Array_setIndexed, 3) \
150 V(Uint32Array_new, 1) \ 152 V(Uint32Array_new, 1) \
151 V(Uint32Array_newTransferable, 1) \ 153 V(Uint32Array_newTransferable, 1) \
152 V(Uint32Array_getIndexed, 2) \ 154 V(Uint32Array_getIndexed, 2) \
153 V(Uint32Array_setIndexed, 3) \ 155 V(Uint32Array_setIndexed, 3) \
154 V(Int64Array_new, 1) \ 156 V(Int64Array_new, 1) \
155 V(Int64Array_newTransferable, 1) \ 157 V(Int64Array_newTransferable, 1) \
156 V(Int64Array_getIndexed, 2) \ 158 V(Int64Array_getIndexed, 2) \
157 V(Int64Array_setIndexed, 3) \ 159 V(Int64Array_setIndexed, 3) \
158 V(Uint64Array_new, 1) \ 160 V(Uint64Array_new, 1) \
159 V(Uint64Array_newTransferable, 1) \ 161 V(Uint64Array_newTransferable, 1) \
160 V(Uint64Array_getIndexed, 2) \ 162 V(Uint64Array_getIndexed, 2) \
161 V(Uint64Array_setIndexed, 3) \ 163 V(Uint64Array_setIndexed, 3) \
162 V(Float32Array_new, 1) \ 164 V(Float32Array_new, 1) \
163 V(Float32Array_newTransferable, 1) \ 165 V(Float32Array_newTransferable, 1) \
164 V(Float32Array_getIndexed, 2) \ 166 V(Float32Array_getIndexed, 2) \
165 V(Float32Array_setIndexed, 3) \ 167 V(Float32Array_setIndexed, 3) \
166 V(Float64Array_new, 1) \ 168 V(Float64Array_new, 1) \
167 V(Float64Array_newTransferable, 1) \ 169 V(Float64Array_newTransferable, 1) \
168 V(Float64Array_getIndexed, 2) \ 170 V(Float64Array_getIndexed, 2) \
169 V(Float64Array_setIndexed, 3) \ 171 V(Float64Array_setIndexed, 3) \
170 V(ExternalInt8Array_getIndexed, 2) \ 172 V(ExternalInt8Array_getIndexed, 2) \
171 V(ExternalInt8Array_setIndexed, 3) \ 173 V(ExternalInt8Array_setIndexed, 3) \
172 V(ExternalUint8Array_getIndexed, 2) \ 174 V(ExternalUint8Array_getIndexed, 2) \
173 V(ExternalUint8Array_setIndexed, 3) \ 175 V(ExternalUint8Array_setIndexed, 3) \
174 V(ExternalInt16Array_getIndexed, 2) \ 176 V(ExternalInt16Array_getIndexed, 2) \
175 V(ExternalInt16Array_setIndexed, 3) \ 177 V(ExternalInt16Array_setIndexed, 3) \
176 V(ExternalUint16Array_getIndexed, 2) \ 178 V(ExternalUint16Array_getIndexed, 2) \
177 V(ExternalUint16Array_setIndexed, 3) \ 179 V(ExternalUint16Array_setIndexed, 3) \
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 static void DN_##name(Dart_NativeArguments args); 220 static void DN_##name(Dart_NativeArguments args);
219 221
220 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 222 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
221 223
222 #undef DECLARE_BOOTSTRAP_NATIVE 224 #undef DECLARE_BOOTSTRAP_NATIVE
223 }; 225 };
224 226
225 } // namespace dart 227 } // namespace dart
226 228
227 #endif // VM_BOOTSTRAP_NATIVES_H_ 229 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/byte_array.dart ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698