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

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

Issue 266913010: Refactor 'dart:profiler' UserTag API (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/intrinsifier_arm.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 // 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 V(_Uint64Array, ., TypedData_Uint64Array_factory, 767338823) \ 129 V(_Uint64Array, ., TypedData_Uint64Array_factory, 767338823) \
130 V(_Float32Array, ., TypedData_Float32Array_factory, 1721244151) \ 130 V(_Float32Array, ., TypedData_Float32Array_factory, 1721244151) \
131 V(_Float64Array, ., TypedData_Float64Array_factory, 1599078532) \ 131 V(_Float64Array, ., TypedData_Float64Array_factory, 1599078532) \
132 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 879975401) \ 132 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 879975401) \
133 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 924582681) \ 133 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 924582681) \
134 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 1654170890) \ 134 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 1654170890) \
135 135
136 136
137 #define PROFILER_LIB_INTRINSIC_LIST(V) \ 137 #define PROFILER_LIB_INTRINSIC_LIST(V) \
138 V(_UserTag, makeCurrent, UserTag_makeCurrent, 1038211262) \ 138 V(_UserTag, makeCurrent, UserTag_makeCurrent, 1038211262) \
139 V(::, _getDefaultTag, UserTag_defaultTag, 624228668) \
139 V(::, _getCurrentTag, Profiler_getCurrentTag, 1559793589) \ 140 V(::, _getCurrentTag, Profiler_getCurrentTag, 1559793589) \
140 V(::, _clearCurrentTag, Profiler_clearCurrentTag, 874694572) \
141 141
142 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and 142 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and
143 // _FixedSizeArrayIterator, moveNext. 143 // _FixedSizeArrayIterator, moveNext.
144 144
145 // Forward declarations. 145 // Forward declarations.
146 class Assembler; 146 class Assembler;
147 class Function; 147 class Function;
148 148
149 class Intrinsifier : public AllStatic { 149 class Intrinsifier : public AllStatic {
150 public: 150 public:
(...skipping 13 matching lines...) Expand all
164 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 164 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
165 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 165 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
166 PROFILER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 166 PROFILER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
167 167
168 #undef DECLARE_FUNCTION 168 #undef DECLARE_FUNCTION
169 }; 169 };
170 170
171 } // namespace dart 171 } // namespace dart
172 172
173 #endif // VM_INTRINSIFIER_H_ 173 #endif // VM_INTRINSIFIER_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/intrinsifier_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698