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

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

Issue 11783006: Intrinsify Uint8ClampedArray's store and load indexed, inline load indexed. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 // Class for intrinsifying functions. 4 // Class for intrinsifying functions.
5 5
6 #ifndef VM_INTRINSIFIER_H_ 6 #ifndef VM_INTRINSIFIER_H_
7 #define VM_INTRINSIFIER_H_ 7 #define VM_INTRINSIFIER_H_
8 8
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 V(_FixedSizeArrayIterator, next, FixedSizeArrayIterator_next, 1283926262) \ 83 V(_FixedSizeArrayIterator, next, FixedSizeArrayIterator_next, 1283926262) \
84 V(_StringBase, get:hashCode, String_getHashCode, 320803993) \ 84 V(_StringBase, get:hashCode, String_getHashCode, 320803993) \
85 V(_StringBase, get:isEmpty, String_getIsEmpty, 711547329) \ 85 V(_StringBase, get:isEmpty, String_getIsEmpty, 711547329) \
86 V(_StringBase, get:length, String_getLength, 320803993) \ 86 V(_StringBase, get:length, String_getLength, 320803993) \
87 V(_StringBase, charCodeAt, String_charCodeAt, 984449525) \ 87 V(_StringBase, charCodeAt, String_charCodeAt, 984449525) \
88 V(_ByteArrayBase, get:length, ByteArrayBase_getLength, 1098081765) \ 88 V(_ByteArrayBase, get:length, ByteArrayBase_getLength, 1098081765) \
89 V(_Int8Array, [], Int8Array_getIndexed, 1295306322) \ 89 V(_Int8Array, [], Int8Array_getIndexed, 1295306322) \
90 V(_Int8Array, []=, Int8Array_setIndexed, 1709956322) \ 90 V(_Int8Array, []=, Int8Array_setIndexed, 1709956322) \
91 V(_Uint8Array, [], Uint8Array_getIndexed, 578331916) \ 91 V(_Uint8Array, [], Uint8Array_getIndexed, 578331916) \
92 V(_Uint8Array, []=, Uint8Array_setIndexed, 121509844) \ 92 V(_Uint8Array, []=, Uint8Array_setIndexed, 121509844) \
93 V(_Uint8ClampedArray, [], UintClamped8Array_getIndexed, 327062422) \
94 V(_Uint8ClampedArray, []=, Uint8ClampedArray_setIndexed, 2054663547) \
93 V(_Int16Array, [], Int16Array_getIndexed, 870098766) \ 95 V(_Int16Array, [], Int16Array_getIndexed, 870098766) \
94 V(_Uint16Array, [], Uint16Array_getIndexed, 1019828411) \ 96 V(_Uint16Array, [], Uint16Array_getIndexed, 1019828411) \
95 V(_Int32Array, [], Int32Array_getIndexed, 1999321436) \ 97 V(_Int32Array, [], Int32Array_getIndexed, 1999321436) \
96 V(_Uint32Array, [], Uint32Array_getIndexed, 1750764660) \ 98 V(_Uint32Array, [], Uint32Array_getIndexed, 1750764660) \
97 V(_Int64Array, [], Int64Array_getIndexed, 504894128) \ 99 V(_Int64Array, [], Int64Array_getIndexed, 504894128) \
98 V(_Uint64Array, [], Uint64Array_getIndexed, 31272531) \ 100 V(_Uint64Array, [], Uint64Array_getIndexed, 31272531) \
99 V(_Float32Array, [], Float32Array_getIndexed, 147582932) \ 101 V(_Float32Array, [], Float32Array_getIndexed, 147582932) \
100 V(_Float32Array, []=, Float32Array_setIndexed, 664454270) \ 102 V(_Float32Array, []=, Float32Array_setIndexed, 664454270) \
101 V(_Float64Array, [], Float64Array_getIndexed, 638830526) \ 103 V(_Float64Array, [], Float64Array_getIndexed, 638830526) \
102 V(_Float64Array, []=, Float64Array_setIndexed, 1948811847) \ 104 V(_Float64Array, []=, Float64Array_setIndexed, 1948811847) \
(...skipping 15 matching lines...) Expand all
118 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination, fp) \ 120 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination, fp) \
119 static bool destination(Assembler* assembler); 121 static bool destination(Assembler* assembler);
120 122
121 INTRINSIC_LIST(DECLARE_FUNCTION) 123 INTRINSIC_LIST(DECLARE_FUNCTION)
122 #undef DECLARE_FUNCTION 124 #undef DECLARE_FUNCTION
123 }; 125 };
124 126
125 } // namespace dart 127 } // namespace dart
126 128
127 #endif // VM_INTRINSIFIER_H_ 129 #endif // VM_INTRINSIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698