| Index: runtime/vm/intermediate_language.h
|
| diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
|
| index a8db29dcd13d5678ba212d17b15c039442aa2625..b13845cc447c967804c9cf607de23da47b4fd7ac 100644
|
| --- a/runtime/vm/intermediate_language.h
|
| +++ b/runtime/vm/intermediate_language.h
|
| @@ -38,103 +38,103 @@ class Range;
|
| // (class-name, function-name, recognized enum, fingerprint).
|
| // See intrinsifier for fingerprint computation.
|
| #define RECOGNIZED_LIST(V) \
|
| - V(::, identical, ObjectIdentical, 1018911876) \
|
| - V(Object, Object., ObjectConstructor, 502077293) \
|
| - V(Object, get:_cid, ObjectCid, 732498573) \
|
| - V(_ObjectArray, get:length, ObjectArrayLength, 405297088) \
|
| - V(_ImmutableArray, get:length, ImmutableArrayLength, 433698233) \
|
| - V(_TypedList, get:length, TypedDataLength, 1004567191) \
|
| - V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 1219036864) \
|
| - V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 1219036864) \
|
| - V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 1219036864) \
|
| - V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 1219036864) \
|
| - V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 1219036864) \
|
| - V(_TypedList, _getUint32, ByteArrayBaseGetUint32, 1219036864) \
|
| - V(_TypedList, _getFloat32, ByteArrayBaseGetFloat32, 1465214182) \
|
| - V(_TypedList, _getFloat64, ByteArrayBaseGetFloat64, 1465214182) \
|
| - V(_TypedList, _getFloat32x4, ByteArrayBaseGetFloat32x4, 2133963445) \
|
| - V(_TypedList, _setInt8, ByteArrayBaseSetInt8, 1865947547) \
|
| - V(_TypedList, _setUint8, ByteArrayBaseSetUint8, 1865947547) \
|
| - V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 1865947547) \
|
| - V(_TypedList, _setUint16, ByteArrayBaseSetUint16, 1865947547) \
|
| - V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 1865947547) \
|
| - V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 1865947547) \
|
| - V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 2034634179) \
|
| - V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 2034634179) \
|
| - V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 773019010) \
|
| - V(_GrowableObjectArray, get:length, GrowableArrayLength, 725548050) \
|
| - V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 725548050) \
|
| - V(_GrowableObjectArray, _setData, GrowableArraySetData, 588108129) \
|
| - V(_GrowableObjectArray, _setLength, GrowableArraySetLength, 279007375) \
|
| - V(_StringBase, get:length, StringBaseLength, 320803993) \
|
| - V(_StringBase, get:isEmpty, StringBaseIsEmpty, 110631520) \
|
| - V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 1574843871) \
|
| - V(_StringBase, [], StringBaseCharAt, 2105190389) \
|
| - V(_OneByteString, _setAt, OneByteStringSetAt, 1038132016) \
|
| - V(_IntegerImplementation, toDouble, IntegerToDouble, 1331752138) \
|
| - V(_Double, toInt, DoubleToInteger, 630286253) \
|
| - V(_Double, truncateToDouble, DoubleTruncate, 1804056693) \
|
| - V(_Double, roundToDouble, DoubleRound, 1804056693) \
|
| - V(_Double, floorToDouble, DoubleFloor, 1804056693) \
|
| - V(_Double, ceilToDouble, DoubleCeil, 1804056693) \
|
| - V(_Double, pow, DoublePow, 102305574) \
|
| - V(_Double, _modulo, DoubleMod, 663439671) \
|
| - V(::, sqrt, MathSqrt, 1662640002) \
|
| - V(::, sin, MathSin, 1273932041) \
|
| - V(::, cos, MathCos, 1749547468) \
|
| - V(::, min, MathMin, 269896129) \
|
| - V(::, max, MathMax, 1286442186) \
|
| - V(Float32x4, Float32x4., Float32x4Constructor, 1492157358) \
|
| - V(Float32x4, Float32x4.zero, Float32x4Zero, 444339161) \
|
| - V(Float32x4, Float32x4.splat, Float32x4Splat, 1843231403) \
|
| - V(_Float32x4, _shuffle, Float32x4Shuffle, 1618450134) \
|
| - V(_Float32x4, get:x, Float32x4ShuffleX, 211144022) \
|
| - V(_Float32x4, get:y, Float32x4ShuffleY, 211144022) \
|
| - V(_Float32x4, get:z, Float32x4ShuffleZ, 211144022) \
|
| - V(_Float32x4, get:w, Float32x4ShuffleW, 211144022) \
|
| - V(_Float32x4, _cmpequal, Float32x4Equal, 2103153736) \
|
| - V(_Float32x4, _cmpgt, Float32x4GreaterThan, 2103153736) \
|
| - V(_Float32x4, _cmpgte, Float32x4GreaterThanOrEqual, 2103153736) \
|
| - V(_Float32x4, _cmplt, Float32x4LessThan, 2103153736) \
|
| - V(_Float32x4, _cmplte, Float32x4LessThanOrEqual, 2103153736) \
|
| - V(_Float32x4, _cmpnequal, Float32x4NotEqual, 2103153736) \
|
| - V(_Float32x4, _min, Float32x4Min, 465519415) \
|
| - V(_Float32x4, _max, Float32x4Max, 465519415) \
|
| - V(_Float32x4, _scale, Float32x4Scale, 42272341) \
|
| - V(_Float32x4, _sqrt, Float32x4Sqrt, 157194268) \
|
| - V(_Float32x4, _reciprocalSqrt, Float32x4ReciprocalSqrt, 157194268) \
|
| - V(_Float32x4, _reciprocal, Float32x4Reciprocal, 157194268) \
|
| - V(_Float32x4, _negate, Float32x4Negate, 157194268) \
|
| - V(_Float32x4, _abs, Float32x4Absolute, 157194268) \
|
| - V(_Float32x4, _clamp, Float32x4Clamp, 1553901850) \
|
| - V(_Float32x4, withX, Float32x4WithX, 1816943014) \
|
| - V(_Float32x4, withY, Float32x4WithY, 820404963) \
|
| - V(_Float32x4, withZ, Float32x4WithZ, 881355277) \
|
| - V(_Float32x4, withW, Float32x4WithW, 441497035) \
|
| - V(_Float32x4, _toUint32x4, Float32x4ToUint32x4, 802289205) \
|
| - V(_Float32x4, withZWInXY, Float32x4WithZWInXY, 465519415) \
|
| - V(_Float32x4, interleaveXY, Float32x4InterleaveXY, 465519415) \
|
| - V(_Float32x4, interleaveZW, Float32x4InterleaveZW, 465519415) \
|
| - V(_Float32x4, interleaveXYPairs, Float32x4InterleaveXYPairs, 465519415) \
|
| - V(_Float32x4, interleaveZWPairs, Float32x4InterleaveZWPairs, 465519415) \
|
| - V(Uint32x4, Uint32x4.bool, Uint32x4BoolConstructor, 487876159) \
|
| - V(_Uint32x4, get:flagX, Uint32x4GetFlagX, 782547529) \
|
| - V(_Uint32x4, get:flagY, Uint32x4GetFlagY, 782547529) \
|
| - V(_Uint32x4, get:flagZ, Uint32x4GetFlagZ, 782547529) \
|
| - V(_Uint32x4, get:flagW, Uint32x4GetFlagW, 782547529) \
|
| - V(_Uint32x4, select, Uint32x4Select, 810336099) \
|
| - V(_Uint32x4, withFlagX, Uint32x4WithFlagX, 25547408) \
|
| - V(_Uint32x4, withFlagY, Uint32x4WithFlagY, 1176493005) \
|
| - V(_Uint32x4, withFlagZ, Uint32x4WithFlagZ, 1237443319) \
|
| - V(_Uint32x4, withFlagW, Uint32x4WithFlagW, 797585077) \
|
| - V(_Uint32x4, _toFloat32x4, Uint32x4ToUint32x4, 912844231) \
|
| + V(::, identical, ObjectIdentical, 101186973) \
|
| + V(Object, Object., ObjectConstructor, 1058525712) \
|
| + V(Object, get:_cid, ObjectCid, 2099568593) \
|
| + V(_ObjectArray, get:length, ObjectArrayLength, 1441000484) \
|
| + V(_ImmutableArray, get:length, ImmutableArrayLength, 1430953867) \
|
| + V(_TypedList, get:length, TypedDataLength, 117589485) \
|
| + V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 788387678) \
|
| + V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 1137892349) \
|
| + V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 464167270) \
|
| + V(_TypedList, _getUint16, ByteArrayBaseGetUint16, 673378812) \
|
| + V(_TypedList, _getInt32, ByteArrayBaseGetInt32, 1230275232) \
|
| + V(_TypedList, _getUint32, ByteArrayBaseGetUint32, 976951843) \
|
| + V(_TypedList, _getFloat32, ByteArrayBaseGetFloat32, 215932309) \
|
| + V(_TypedList, _getFloat64, ByteArrayBaseGetFloat64, 450032954) \
|
| + V(_TypedList, _getFloat32x4, ByteArrayBaseGetFloat32x4, 1602836552) \
|
| + V(_TypedList, _setInt8, ByteArrayBaseSetInt8, 250049637) \
|
| + V(_TypedList, _setUint8, ByteArrayBaseSetUint8, 1792593311) \
|
| + V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 1958159284) \
|
| + V(_TypedList, _setUint16, ByteArrayBaseSetUint16, 1244907090) \
|
| + V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 1058956549) \
|
| + V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 1054500835) \
|
| + V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 1426038329) \
|
| + V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 1289924817) \
|
| + V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 370513644) \
|
| + V(_GrowableObjectArray, get:length, GrowableArrayLength, 767561362) \
|
| + V(_GrowableObjectArray, get:_capacity, GrowableArrayCapacity, 874559046) \
|
| + V(_GrowableObjectArray, _setData, GrowableArraySetData, 1302055339) \
|
| + V(_GrowableObjectArray, _setLength, GrowableArraySetLength, 1016226171) \
|
| + V(_StringBase, get:length, StringBaseLength, 1158042795) \
|
| + V(_StringBase, get:isEmpty, StringBaseIsEmpty, 1588094430) \
|
| + V(_StringBase, codeUnitAt, StringBaseCodeUnitAt, 1452213966) \
|
| + V(_StringBase, [], StringBaseCharAt, 924930519) \
|
| + V(_OneByteString, _setAt, OneByteStringSetAt, 456985263) \
|
| + V(_IntegerImplementation, toDouble, IntegerToDouble, 2141284842) \
|
| + V(_Double, toInt, DoubleToInteger, 1580473283) \
|
| + V(_Double, truncateToDouble, DoubleTruncate, 849350203) \
|
| + V(_Double, roundToDouble, DoubleRound, 500368418) \
|
| + V(_Double, floorToDouble, DoubleFloor, 763548522) \
|
| + V(_Double, ceilToDouble, DoubleCeil, 976697019) \
|
| + V(_Double, pow, DoublePow, 1240251670) \
|
| + V(_Double, _modulo, DoubleMod, 1850917533) \
|
| + V(::, sqrt, MathSqrt, 465520247) \
|
| + V(::, sin, MathSin, 730107143) \
|
| + V(::, cos, MathCos, 1282146521) \
|
| + V(::, min, MathMin, 1584022354) \
|
| + V(::, max, MathMax, 328632232) \
|
| + V(Float32x4, Float32x4., Float32x4Constructor, 1876089990) \
|
| + V(Float32x4, Float32x4.zero, Float32x4Zero, 1903586222) \
|
| + V(Float32x4, Float32x4.splat, Float32x4Splat, 38462589) \
|
| + V(_Float32x4, _shuffle, Float32x4Shuffle, 2044955136) \
|
| + V(_Float32x4, get:x, Float32x4ShuffleX, 1019523296) \
|
| + V(_Float32x4, get:y, Float32x4ShuffleY, 710282243) \
|
| + V(_Float32x4, get:z, Float32x4ShuffleZ, 1612806041) \
|
| + V(_Float32x4, get:w, Float32x4ShuffleW, 1113701403) \
|
| + V(_Float32x4, _cmpequal, Float32x4Equal, 1559121703) \
|
| + V(_Float32x4, _cmpgt, Float32x4GreaterThan, 1959692892) \
|
| + V(_Float32x4, _cmpgte, Float32x4GreaterThanOrEqual, 2128251808) \
|
| + V(_Float32x4, _cmplt, Float32x4LessThan, 405464198) \
|
| + V(_Float32x4, _cmplte, Float32x4LessThanOrEqual, 1217836152) \
|
| + V(_Float32x4, _cmpnequal, Float32x4NotEqual, 498820440) \
|
| + V(_Float32x4, _min, Float32x4Min, 1354880316) \
|
| + V(_Float32x4, _max, Float32x4Max, 171574145) \
|
| + V(_Float32x4, _scale, Float32x4Scale, 1553559438) \
|
| + V(_Float32x4, _sqrt, Float32x4Sqrt, 612006112) \
|
| + V(_Float32x4, _reciprocalSqrt, Float32x4ReciprocalSqrt, 606139302) \
|
| + V(_Float32x4, _reciprocal, Float32x4Reciprocal, 606284658) \
|
| + V(_Float32x4, _negate, Float32x4Negate, 1391098465) \
|
| + V(_Float32x4, _abs, Float32x4Absolute, 1255666131) \
|
| + V(_Float32x4, _clamp, Float32x4Clamp, 736513790) \
|
| + V(_Float32x4, withX, Float32x4WithX, 1812990172) \
|
| + V(_Float32x4, withY, Float32x4WithY, 870795583) \
|
| + V(_Float32x4, withZ, Float32x4WithZ, 784227740) \
|
| + V(_Float32x4, withW, Float32x4WithW, 868173303) \
|
| + V(_Float32x4, _toUint32x4, Float32x4ToUint32x4, 147627074) \
|
| + V(_Float32x4, withZWInXY, Float32x4WithZWInXY, 1850941421) \
|
| + V(_Float32x4, interleaveXY, Float32x4InterleaveXY, 1789523505) \
|
| + V(_Float32x4, interleaveZW, Float32x4InterleaveZW, 1137302773) \
|
| + V(_Float32x4, interleaveXYPairs, Float32x4InterleaveXYPairs, 2138669236) \
|
| + V(_Float32x4, interleaveZWPairs, Float32x4InterleaveZWPairs, 1541966446) \
|
| + V(Uint32x4, Uint32x4.bool, Uint32x4BoolConstructor, 733327933) \
|
| + V(_Uint32x4, get:flagX, Uint32x4GetFlagX, 765894409) \
|
| + V(_Uint32x4, get:flagY, Uint32x4GetFlagY, 1226233321) \
|
| + V(_Uint32x4, get:flagZ, Uint32x4GetFlagZ, 1455452476) \
|
| + V(_Uint32x4, get:flagW, Uint32x4GetFlagW, 1608549245) \
|
| + V(_Uint32x4, select, Uint32x4Select, 881590808) \
|
| + V(_Uint32x4, withFlagX, Uint32x4WithFlagX, 1987921054) \
|
| + V(_Uint32x4, withFlagY, Uint32x4WithFlagY, 831632614) \
|
| + V(_Uint32x4, withFlagZ, Uint32x4WithFlagZ, 465765612) \
|
| + V(_Uint32x4, withFlagW, Uint32x4WithFlagW, 1545009993) \
|
| + V(_Uint32x4, _toFloat32x4, Uint32x4ToUint32x4, 1545735523) \
|
|
|
|
|
| // A list of core function that should always be inlined.
|
| #define INLINE_WHITE_LIST(V) \
|
| - V(ListIterator, moveNext, ListIteratorMoveNext, 203118278) \
|
| - V(_GrowableObjectArray, get:iterator, GrowableArrayIterator, 810824939) \
|
| - V(_GrowableObjectArray, forEach, GrowableArrayForEach, 619038738)
|
| + V(ListIterator, moveNext, ListIteratorMoveNext, 657540761) \
|
| + V(_GrowableObjectArray, get:iterator, GrowableArrayIterator, 281980741) \
|
| + V(_GrowableObjectArray, forEach, GrowableArrayForEach, 334448248)
|
|
|
|
|
| // Class that recognizes the name and owner of a function and returns the
|
|
|