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

Unified Diff: runtime/vm/bootstrap_natives.h

Issue 1782003002: Simplify the VM's typed_data constructors. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: added comment Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/typed_data.dart ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap_natives.h
diff --git a/runtime/vm/bootstrap_natives.h b/runtime/vm/bootstrap_natives.h
index 02b1e3cf6adc5b1723910b2b9f29b764c74d225b..03f28696337cf294823ee3c974bef605ba2b740f 100644
--- a/runtime/vm/bootstrap_natives.h
+++ b/runtime/vm/bootstrap_natives.h
@@ -164,34 +164,34 @@ namespace dart {
V(Timeline_reportCompleteEvent, 5) \
V(Timeline_reportInstantEvent, 4) \
V(Timeline_reportTaskEvent, 6) \
- V(TypedData_Int8Array_new, 1) \
- V(TypedData_Uint8Array_new, 1) \
- V(TypedData_Uint8ClampedArray_new, 1) \
- V(TypedData_Int16Array_new, 1) \
- V(TypedData_Uint16Array_new, 1) \
- V(TypedData_Int32Array_new, 1) \
- V(TypedData_Uint32Array_new, 1) \
- V(TypedData_Int64Array_new, 1) \
- V(TypedData_Uint64Array_new, 1) \
- V(TypedData_Float32Array_new, 1) \
- V(TypedData_Float64Array_new, 1) \
- V(TypedData_Float32x4Array_new, 1) \
- V(TypedData_Int32x4Array_new, 1) \
- V(TypedData_Float64x2Array_new, 1) \
- V(ExternalTypedData_Int8Array_new, 1) \
- V(ExternalTypedData_Uint8Array_new, 1) \
- V(ExternalTypedData_Uint8ClampedArray_new, 1) \
- V(ExternalTypedData_Int16Array_new, 1) \
- V(ExternalTypedData_Uint16Array_new, 1) \
- V(ExternalTypedData_Int32Array_new, 1) \
- V(ExternalTypedData_Uint32Array_new, 1) \
- V(ExternalTypedData_Int64Array_new, 1) \
- V(ExternalTypedData_Uint64Array_new, 1) \
- V(ExternalTypedData_Float32Array_new, 1) \
- V(ExternalTypedData_Float64Array_new, 1) \
- V(ExternalTypedData_Float32x4Array_new, 1) \
- V(ExternalTypedData_Int32x4Array_new, 1) \
- V(ExternalTypedData_Float64x2Array_new, 1) \
+ V(TypedData_Int8Array_new, 2) \
+ V(TypedData_Uint8Array_new, 2) \
+ V(TypedData_Uint8ClampedArray_new, 2) \
+ V(TypedData_Int16Array_new, 2) \
+ V(TypedData_Uint16Array_new, 2) \
+ V(TypedData_Int32Array_new, 2) \
+ V(TypedData_Uint32Array_new, 2) \
+ V(TypedData_Int64Array_new, 2) \
+ V(TypedData_Uint64Array_new, 2) \
+ V(TypedData_Float32Array_new, 2) \
+ V(TypedData_Float64Array_new, 2) \
+ V(TypedData_Float32x4Array_new, 2) \
+ V(TypedData_Int32x4Array_new, 2) \
+ V(TypedData_Float64x2Array_new, 2) \
+ V(ExternalTypedData_Int8Array_new, 2) \
+ V(ExternalTypedData_Uint8Array_new, 2) \
+ V(ExternalTypedData_Uint8ClampedArray_new, 2) \
+ V(ExternalTypedData_Int16Array_new, 2) \
+ V(ExternalTypedData_Uint16Array_new, 2) \
+ V(ExternalTypedData_Int32Array_new, 2) \
+ V(ExternalTypedData_Uint32Array_new, 2) \
+ V(ExternalTypedData_Int64Array_new, 2) \
+ V(ExternalTypedData_Uint64Array_new, 2) \
+ V(ExternalTypedData_Float32Array_new, 2) \
+ V(ExternalTypedData_Float64Array_new, 2) \
+ V(ExternalTypedData_Float32x4Array_new, 2) \
+ V(ExternalTypedData_Int32x4Array_new, 2) \
+ V(ExternalTypedData_Float64x2Array_new, 2) \
V(TypedData_length, 1) \
V(TypedData_setRange, 7) \
V(TypedData_GetInt8, 2) \
« no previous file with comments | « runtime/lib/typed_data.dart ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698