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

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

Issue 11410086: Use iterator, moveNext(), current. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Address comments. Created 8 years, 1 month 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 V(_GrowableObjectArray, []=, GrowableArray_setIndexed) \ 64 V(_GrowableObjectArray, []=, GrowableArray_setIndexed) \
65 V(_GrowableObjectArray, _setLength, GrowableArray_setLength) \ 65 V(_GrowableObjectArray, _setLength, GrowableArray_setLength) \
66 V(_GrowableObjectArray, _setData, GrowableArray_setData) \ 66 V(_GrowableObjectArray, _setData, GrowableArray_setData) \
67 V(_GrowableObjectArray, add, GrowableArray_add) \ 67 V(_GrowableObjectArray, add, GrowableArray_add) \
68 V(_ImmutableArray, [], ImmutableArray_getIndexed) \ 68 V(_ImmutableArray, [], ImmutableArray_getIndexed) \
69 V(_ImmutableArray, get:length, ImmutableArray_getLength) \ 69 V(_ImmutableArray, get:length, ImmutableArray_getLength) \
70 V(::, sqrt, Math_sqrt) \ 70 V(::, sqrt, Math_sqrt) \
71 V(::, sin, Math_sin) \ 71 V(::, sin, Math_sin) \
72 V(::, cos, Math_cos) \ 72 V(::, cos, Math_cos) \
73 V(Object, ==, Object_equal) \ 73 V(Object, ==, Object_equal) \
74 V(_FixedSizeArrayIterator, get:hasNext, FixedSizeArrayIterator_getHasNext) \
Ivan Posva 2012/11/26 18:20:13 The equivalent routines will need to be handled. P
floitsch 2012/11/28 13:44:34 done.
75 V(_FixedSizeArrayIterator, next, FixedSizeArrayIterator_next) \
76 V(_StringBase, get:hashCode, String_getHashCode) \ 74 V(_StringBase, get:hashCode, String_getHashCode) \
77 V(_StringBase, get:isEmpty, String_getIsEmpty) \ 75 V(_StringBase, get:isEmpty, String_getIsEmpty) \
78 V(_StringBase, get:length, String_getLength) \ 76 V(_StringBase, get:length, String_getLength) \
79 V(_StringBase, charCodeAt, String_charCodeAt) \ 77 V(_StringBase, charCodeAt, String_charCodeAt) \
80 V(_ByteArrayBase, get:length, ByteArrayBase_getLength) \ 78 V(_ByteArrayBase, get:length, ByteArrayBase_getLength) \
81 V(_Int8Array, [], Int8Array_getIndexed) \ 79 V(_Int8Array, [], Int8Array_getIndexed) \
82 V(_Int8Array, []=, Int8Array_setIndexed) \ 80 V(_Int8Array, []=, Int8Array_setIndexed) \
83 V(_Uint8Array, [], Uint8Array_getIndexed) \ 81 V(_Uint8Array, [], Uint8Array_getIndexed) \
84 V(_Uint8Array, []=, Uint8Array_setIndexed) \ 82 V(_Uint8Array, []=, Uint8Array_setIndexed) \
85 V(_Int16Array, [], Int16Array_getIndexed) \ 83 V(_Int16Array, [], Int16Array_getIndexed) \
(...skipping 23 matching lines...) Expand all
109 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination) \ 107 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination) \
110 static bool destination(Assembler* assembler); 108 static bool destination(Assembler* assembler);
111 109
112 INTRINSIC_LIST(DECLARE_FUNCTION) 110 INTRINSIC_LIST(DECLARE_FUNCTION)
113 #undef DECLARE_FUNCTION 111 #undef DECLARE_FUNCTION
114 }; 112 };
115 113
116 } // namespace dart 114 } // namespace dart
117 115
118 #endif // VM_INTRINSIFIER_H_ 116 #endif // VM_INTRINSIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698