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

Unified Diff: runtime/vm/method_recognizer.h

Issue 513213002: Generate some intrinsics using our IR. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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
« runtime/vm/constants_arm64.h ('K') | « runtime/vm/locations.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/method_recognizer.h
===================================================================
--- runtime/vm/method_recognizer.h (revision 39651)
+++ runtime/vm/method_recognizer.h (working copy)
@@ -122,10 +122,8 @@
V(_Float32Array, []=, Float32ArraySetIndexed, 2086166464) \
V(_Int8Array, [], Int8ArrayGetIndexed, 321230586) \
V(_Int8Array, []=, Int8ArraySetIndexed, 2050598685) \
- V(_Uint8Array, []=, Uint8ArraySetIndexed, 2018064553) \
V(_Uint8ClampedArray, [], Uint8ClampedArrayGetIndexed, 430672063) \
V(_Uint8ClampedArray, []=, Uint8ClampedArraySetIndexed, 821294340) \
- V(_ExternalUint8Array, []=, ExternalUint8ArraySetIndexed, 918478513) \
V(_ExternalUint8ClampedArray, [], ExternalUint8ClampedArrayGetIndexed, \
1346536303) \
V(_ExternalUint8ClampedArray, []=, ExternalUint8ClampedArraySetIndexed, \
@@ -264,27 +262,36 @@
V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 1217848993) \
V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 100825417) \
V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 611308575) \
- V(_Uint8Array, [], Uint8ArrayGetIndexed, 16125140) \
- V(_ExternalUint8Array, [], ExternalUint8ArrayGetIndexed, 1678777951) \
V(_Float64Array, [], Float64ArrayGetIndexed, 1779054297) \
V(_Float64Array, []=, Float64ArraySetIndexed, 243929230) \
+#define GRAPH_INTRINSICS_LIST(V) \
+ V(_Uint8Array, [], Uint8ArrayGetIndexed, 16125140) \
+ V(_Uint8Array, []=, Uint8ArraySetIndexed, 2018064553) \
+ V(_ExternalUint8Array, [], ExternalUint8ArrayGetIndexed, 1678777951) \
+ V(_ExternalUint8Array, []=, ExternalUint8ArraySetIndexed, 918478513) \
+
+
#define PROFILER_LIB_INTRINSIC_LIST(V) \
V(_UserTag, makeCurrent, UserTag_makeCurrent, 370414636) \
V(::, _getDefaultTag, UserTag_defaultTag, 1159885970) \
V(::, _getCurrentTag, Profiler_getCurrentTag, 1182126114) \
-#define ALL_INTRINSICS_LIST(V) \
+#define ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \
CORE_LIB_INTRINSIC_LIST(V) \
- CORE_INTEGER_LIB_INTRINSIC_LIST(V) \
MATH_LIB_INTRINSIC_LIST(V) \
TYPED_DATA_LIB_INTRINSIC_LIST(V) \
PROFILER_LIB_INTRINSIC_LIST(V)
+#define ALL_INTRINSICS_LIST(V) \
+ ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \
+ CORE_INTEGER_LIB_INTRINSIC_LIST(V)
+
#define RECOGNIZED_LIST(V) \
OTHER_RECOGNIZED_LIST(V) \
- ALL_INTRINSICS_LIST(V)
+ ALL_INTRINSICS_LIST(V) \
+ GRAPH_INTRINSICS_LIST(V)
// A list of core function that should always be inlined.
#define INLINE_WHITE_LIST(V) \
« runtime/vm/constants_arm64.h ('K') | « runtime/vm/locations.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698