[VM] Treat 'deferred' as a built-in identifier (fixes #31267 and #25732).

Reject built-in identifiers as prefix names (fixes #25733).
Update co19 status file.

Change-Id: I7fe5014d128bfdad442866e78196fb8dd2764dda
Reviewed-on: https://dart-review.googlesource.com/19860
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Régis Crelier <regis@google.com>
This commit is contained in:
Régis Crelier 2017-11-09 23:29:52 +00:00 committed by commit-bot@chromium.org
parent be519c865f
commit f734e7ee38
8 changed files with 339 additions and 359 deletions

View file

@ -46,7 +46,7 @@ var tests = [
var expectedRange = {
'scriptIndex': 0,
'startPos': ifKernel(456, 26),
'endPos': ifKernel(499, 37),
'endPos': ifKernel(499, 38),
'compiled': true,
'coverage': {
'hits': ifKernel([], []),
@ -87,7 +87,7 @@ var tests = [
var expectedRange = {
'scriptIndex': 0,
'startPos': ifKernel(456, 26),
'endPos': ifKernel(499, 37),
'endPos': ifKernel(499, 38),
'compiled': true,
'coverage': {
'hits': ifKernel([456], [26]),

View file

@ -61,12 +61,12 @@ var tests = [
var expectedRange = {
'scriptIndex': 0,
'startPos': ifKernel(501, 39),
'endPos': ifKernel(633, 88),
'startPos': ifKernel(501, 40),
'endPos': ifKernel(633, 89),
'compiled': true,
'coverage': {
'hits': ifKernel([501, 539, 590, 619], [39, 54, 72, 82]),
'misses': ifKernel([552], [60])
'hits': ifKernel([501, 539, 590, 619], [40, 55, 73, 83]),
'misses': ifKernel([552], [61])
}
};

View file

@ -17,9 +17,9 @@ namespace dart {
// correct fingerprint from the mismatch error.
#define OTHER_RECOGNIZED_LIST(V) \
V(::, identical, ObjectIdentical, Bool, 0x49c6e96a) \
V(ClassID, getID, ClassIDgetID, Smi, 0x66d44356) \
V(ClassID, getID, ClassIDgetID, Smi, 0x7b18b257) \
V(Object, Object., ObjectConstructor, Dynamic, 0x681617fe) \
V(_List, ., ObjectArrayAllocate, Array, 0x6c3b54ee) \
V(_List, ., ObjectArrayAllocate, Array, 0x2121902f) \
V(_TypedList, _getInt8, ByteArrayBaseGetInt8, Smi, 0x7041895a) \
V(_TypedList, _getUint8, ByteArrayBaseGetUint8, Smi, 0x336fa3ea) \
V(_TypedList, _getInt16, ByteArrayBaseGetInt16, Smi, 0x231bbe2e) \
@ -32,36 +32,36 @@ namespace dart {
V(_TypedList, _getFloat32x4, ByteArrayBaseGetFloat32x4, Float32x4, \
0x5c367ffb) \
V(_TypedList, _getInt32x4, ByteArrayBaseGetInt32x4, Int32x4, 0x772d1c0f) \
V(_TypedList, _setInt8, ByteArrayBaseSetInt8, Dynamic, 0x7dd630a9) \
V(_TypedList, _setUint8, ByteArrayBaseSetUint8, Dynamic, 0x009d6a08) \
V(_TypedList, _setInt16, ByteArrayBaseSetInt16, Dynamic, 0x0a9d8539) \
V(_TypedList, _setUint16, ByteArrayBaseSetUint16, Dynamic, 0x0339aa55) \
V(_TypedList, _setInt32, ByteArrayBaseSetInt32, Dynamic, 0x68f6ecc6) \
V(_TypedList, _setUint32, ByteArrayBaseSetUint32, Dynamic, 0x5f249ccc) \
V(_TypedList, _setInt64, ByteArrayBaseSetInt64, Dynamic, 0x325c86ad) \
V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, Dynamic, 0x6ef655ba) \
V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, Dynamic, 0x23c3584c) \
V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, Dynamic, 0x2b20798d) \
V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, Dynamic, 0x72d3ec93) \
V(_StringBase, _interpolate, StringBaseInterpolate, Dynamic, 0x051d283a) \
V(_IntegerImplementation, toDouble, IntegerToDouble, Double, 0x09b4f74c) \
V(_TypedList, _setInt8, ByteArrayBaseSetInt8, Dynamic, 0x12bae36a) \
V(_TypedList, _setUint8, ByteArrayBaseSetUint8, Dynamic, 0x15821cc9) \
V(_TypedList, _setInt16, ByteArrayBaseSetInt16, Dynamic, 0x1f8237fa) \
V(_TypedList, _setUint16, ByteArrayBaseSetUint16, Dynamic, 0x181e5d16) \
V(_TypedList, _setInt32, ByteArrayBaseSetInt32, Dynamic, 0x7ddb9f87) \
V(_TypedList, _setUint32, ByteArrayBaseSetUint32, Dynamic, 0x74094f8d) \
V(_TypedList, _setInt64, ByteArrayBaseSetInt64, Dynamic, 0x4741396e) \
V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, Dynamic, 0x03db087b) \
V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, Dynamic, 0x38a80b0d) \
V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, Dynamic, 0x40052c4e) \
V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, Dynamic, 0x07b89f54) \
V(_StringBase, _interpolate, StringBaseInterpolate, Dynamic, 0x01ecb15a) \
V(_IntegerImplementation, toDouble, IntegerToDouble, Double, 0x05da96ed) \
V(_Double, _add, DoubleAdd, Double, 0x2a38277b) \
V(_Double, _sub, DoubleSub, Double, 0x4f466391) \
V(_Double, _mul, DoubleMul, Double, 0x175e4f66) \
V(_Double, _div, DoubleDiv, Double, 0x0854181b) \
V(::, min, MathMin, Dynamic, 0x1499bbdc) \
V(::, max, MathMax, Dynamic, 0x5e8ae02a) \
V(::, _doublePow, MathDoublePow, Double, 0x61369cfd) \
V(Float32x4, Float32x4., Float32x4Constructor, Float32x4, 0x5640679a) \
V(Float32x4, Float32x4.zero, Float32x4Zero, Float32x4, 0x2f0b7925) \
V(Float32x4, Float32x4.splat, Float32x4Splat, Float32x4, 0x750512c4) \
V(::, min, MathMin, Dynamic, 0x32ebc57d) \
V(::, max, MathMax, Dynamic, 0x377e8889) \
V(::, _doublePow, MathDoublePow, Double, 0x4095895c) \
V(Float32x4, Float32x4., Float32x4Constructor, Float32x4, 0x26ea459b) \
V(Float32x4, Float32x4.zero, Float32x4Zero, Float32x4, 0x16eca604) \
V(Float32x4, Float32x4.splat, Float32x4Splat, Float32x4, 0x694e83e3) \
V(Float32x4, Float32x4.fromInt32x4Bits, Int32x4ToFloat32x4, Float32x4, \
0x3b197ab4) \
0x2f62ebd3) \
V(Float32x4, Float32x4.fromFloat64x2, Float64x2ToFloat32x4, Float32x4, \
0x5ca3f7f1) \
0x50ed6910) \
V(_Float32x4, shuffle, Float32x4Shuffle, Float32x4, 0x7829101f) \
V(_Float32x4, shuffleMix, Float32x4ShuffleMix, Float32x4, 0x4182c06b) \
V(_Float32x4, get:signMask, Float32x4GetSignMask, Dynamic, 0x1d083ef2) \
V(_Float32x4, get:signMask, Float32x4GetSignMask, Dynamic, 0x1d08b351) \
V(_Float32x4, equal, Float32x4Equal, Int32x4, 0x11adb239) \
V(_Float32x4, greaterThan, Float32x4GreaterThan, Int32x4, 0x48adaf58) \
V(_Float32x4, greaterThanOrEqual, Float32x4GreaterThanOrEqual, Int32x4, \
@ -77,38 +77,38 @@ namespace dart {
V(_Float32x4, reciprocalSqrt, Float32x4ReciprocalSqrt, Float32x4, \
0x6264bfe8) \
V(_Float32x4, reciprocal, Float32x4Reciprocal, Float32x4, 0x3cd7e819) \
V(_Float32x4, unary-, Float32x4Negate, Float32x4, 0x35f7f2b3) \
V(_Float32x4, unary-, Float32x4Negate, Float32x4, 0x37accb52) \
V(_Float32x4, abs, Float32x4Abs, Float32x4, 0x471cdd87) \
V(_Float32x4, clamp, Float32x4Clamp, Float32x4, 0x2cb30492) \
V(_Float32x4, withX, Float32x4WithX, Float32x4, 0x4e336aff) \
V(_Float32x4, withY, Float32x4WithY, Float32x4, 0x0a72b910) \
V(_Float32x4, withZ, Float32x4WithZ, Float32x4, 0x31e93658) \
V(_Float32x4, withW, Float32x4WithW, Float32x4, 0x60ddc105) \
V(Float64x2, Float64x2., Float64x2Constructor, Float64x2, 0x2e2098de) \
V(Float64x2, Float64x2.zero, Float64x2Zero, Float64x2, 0x631002be) \
V(Float64x2, Float64x2.splat, Float64x2Splat, Float64x2, 0x1f056dd1) \
V(Float64x2, Float64x2., Float64x2Constructor, Float64x2, 0x43054b9f) \
V(Float64x2, Float64x2.zero, Float64x2Zero, Float64x2, 0x4af12f9d) \
V(Float64x2, Float64x2.splat, Float64x2Splat, Float64x2, 0x134edef0) \
V(Float64x2, Float64x2.fromFloat32x4, Float32x4ToFloat64x2, Float64x2, \
0x238d44c5) \
V(_Float64x2, get:x, Float64x2GetX, Double, 0x58c027f9) \
V(_Float64x2, get:y, Float64x2GetY, Double, 0x3cf57159) \
V(_Float64x2, unary-, Float64x2Negate, Float64x2, 0x3fa7c76a) \
0x17d6b5e4) \
V(_Float64x2, get:x, Float64x2GetX, Double, 0x58c09c58) \
V(_Float64x2, get:y, Float64x2GetY, Double, 0x3cf5e5b8) \
V(_Float64x2, unary-, Float64x2Negate, Float64x2, 0x415ca009) \
V(_Float64x2, abs, Float64x2Abs, Float64x2, 0x031f9e47) \
V(_Float64x2, sqrt, Float64x2Sqrt, Float64x2, 0x77f711dd) \
V(_Float64x2, get:signMask, Float64x2GetSignMask, Dynamic, 0x27de65ec) \
V(_Float64x2, get:signMask, Float64x2GetSignMask, Dynamic, 0x27deda4b) \
V(_Float64x2, scale, Float64x2Scale, Float64x2, 0x26830a61) \
V(_Float64x2, withX, Float64x2WithX, Float64x2, 0x1d2bcaf5) \
V(_Float64x2, withY, Float64x2WithY, Float64x2, 0x383ed6ac) \
V(_Float64x2, min, Float64x2Min, Float64x2, 0x28d7ddf6) \
V(_Float64x2, max, Float64x2Max, Float64x2, 0x0bd74e5b) \
V(Int32x4, Int32x4., Int32x4Constructor, Int32x4, 0x775b77a8) \
V(Int32x4, Int32x4.bool, Int32x4BoolConstructor, Int32x4, 0x690007a2) \
V(Int32x4, Int32x4., Int32x4Constructor, Int32x4, 0x480555a9) \
V(Int32x4, Int32x4.bool, Int32x4BoolConstructor, Int32x4, 0x36aa6963) \
V(Int32x4, Int32x4.fromFloat32x4Bits, Float32x4ToInt32x4, Int32x4, \
0x72cbc76b) \
V(_Int32x4, get:flagX, Int32x4GetFlagX, Bool, 0x5638f823) \
V(_Int32x4, get:flagY, Int32x4GetFlagY, Bool, 0x446fd2d9) \
V(_Int32x4, get:flagZ, Int32x4GetFlagZ, Bool, 0x20d68ad8) \
V(_Int32x4, get:flagW, Int32x4GetFlagW, Bool, 0x5044ed0b) \
V(_Int32x4, get:signMask, Int32x4GetSignMask, Dynamic, 0x2c1f3e44) \
0x6715388a) \
V(_Int32x4, get:flagX, Int32x4GetFlagX, Bool, 0x56396c82) \
V(_Int32x4, get:flagY, Int32x4GetFlagY, Bool, 0x44704738) \
V(_Int32x4, get:flagZ, Int32x4GetFlagZ, Bool, 0x20d6ff37) \
V(_Int32x4, get:flagW, Int32x4GetFlagW, Bool, 0x5045616a) \
V(_Int32x4, get:signMask, Int32x4GetSignMask, Dynamic, 0x2c1fb2a3) \
V(_Int32x4, shuffle, Int32x4Shuffle, Int32x4, 0x20bc0b16) \
V(_Int32x4, shuffleMix, Int32x4ShuffleMix, Int32x4, 0x5c7056e1) \
V(_Int32x4, select, Int32x4Select, Float32x4, 0x6b49654f) \
@ -116,127 +116,127 @@ namespace dart {
V(_Int32x4, withFlagY, Int32x4WithFlagY, Int32x4, 0x6485a9c4) \
V(_Int32x4, withFlagZ, Int32x4WithFlagZ, Int32x4, 0x267acdfa) \
V(_Int32x4, withFlagW, Int32x4WithFlagW, Int32x4, 0x345ac675) \
V(_Int64List, [], Int64ArrayGetIndexed, Dynamic, 0x1cfce099) \
V(_Int64List, []=, Int64ArraySetIndexed, Dynamic, 0x6b2911f5) \
V(_Bigint, get:_neg, Bigint_getNeg, Bool, 0x356019c4) \
V(_Bigint, get:_used, Bigint_getUsed, Smi, 0x33ba5131) \
V(_Bigint, get:_digits, Bigint_getDigits, TypedDataUint32Array, 0x68defc99) \
V(_Int64List, [], Int64ArrayGetIndexed, Dynamic, 0x51eafb97) \
V(_Int64List, []=, Int64ArraySetIndexed, Dynamic, 0x4ddf27d5) \
V(_Bigint, get:_neg, Bigint_getNeg, Bool, 0x35608e23) \
V(_Bigint, get:_used, Bigint_getUsed, Smi, 0x33bac590) \
V(_Bigint, get:_digits, Bigint_getDigits, TypedDataUint32Array, 0x68df70f8) \
V(_HashVMBase, get:_index, LinkedHashMap_getIndex, TypedDataUint32Array, \
0x0246fcf8) \
V(_HashVMBase, set:_index, LinkedHashMap_setIndex, Dynamic, 0x53a33a00) \
V(_HashVMBase, get:_data, LinkedHashMap_getData, Array, 0x2d79fc4d) \
V(_HashVMBase, set:_data, LinkedHashMap_setData, Dynamic, 0x129a9708) \
V(_HashVMBase, get:_usedData, LinkedHashMap_getUsedData, Smi, 0x0885258e) \
V(_HashVMBase, set:_usedData, LinkedHashMap_setUsedData, Dynamic, 0x631d2ea6)\
V(_HashVMBase, get:_hashMask, LinkedHashMap_getHashMask, Smi, 0x32f33cdc) \
V(_HashVMBase, set:_hashMask, LinkedHashMap_setHashMask, Dynamic, 0x75f4287b)\
0x02477157) \
V(_HashVMBase, set:_index, LinkedHashMap_setIndex, Dynamic, 0x4fc8d5e0) \
V(_HashVMBase, get:_data, LinkedHashMap_getData, Array, 0x2d7a70ac) \
V(_HashVMBase, set:_data, LinkedHashMap_setData, Dynamic, 0x0ec032e8) \
V(_HashVMBase, get:_usedData, LinkedHashMap_getUsedData, Smi, 0x088599ed) \
V(_HashVMBase, set:_usedData, LinkedHashMap_setUsedData, Dynamic, 0x5f42ca86)\
V(_HashVMBase, get:_hashMask, LinkedHashMap_getHashMask, Smi, 0x32f3b13b) \
V(_HashVMBase, set:_hashMask, LinkedHashMap_setHashMask, Dynamic, 0x7219c45b)\
V(_HashVMBase, get:_deletedKeys, LinkedHashMap_getDeletedKeys, Smi, \
0x55840d63) \
0x558481c2) \
V(_HashVMBase, set:_deletedKeys, LinkedHashMap_setDeletedKeys, Dynamic, \
0x5e83ecad) \
V(::, _classRangeCheck, ClassRangeCheck, Bool, 0x16a2fc83) \
V(::, _classRangeCheckNegative, ClassRangeCheckNegated, Bool, 0x46898c74) \
V(::, _classRangeAssert, ClassRangeAssert, Dynamic, 0x3ccbdf6e) \
V(::, _classIdEqualsAssert, ClassIdEqualsAssert, Dynamic, 0x4dc80932) \
0x5aa9888d) \
V(::, _classRangeCheck, ClassRangeCheck, Bool, 0x2ae76b84) \
V(::, _classRangeCheckNegative, ClassRangeCheckNegated, Bool, 0x5acdfb75) \
V(::, _classRangeAssert, ClassRangeAssert, Dynamic, 0x6c77116e) \
V(::, _classIdEqualsAssert, ClassIdEqualsAssert, Dynamic, 0x09e0ae72) \
// List of intrinsics:
// (class-name, function-name, intrinsification method, fingerprint).
#define CORE_LIB_INTRINSIC_LIST(V) \
V(_Smi, ~, Smi_bitNegate, Smi, 0x6574c6b0) \
V(_Smi, get:bitLength, Smi_bitLength, Smi, 0x25b356ab) \
V(_Smi, ~, Smi_bitNegate, Smi, 0x67299f4f) \
V(_Smi, get:bitLength, Smi_bitLength, Smi, 0x25b3cb0a) \
V(_Smi, _bitAndFromSmi, Smi_bitAndFromSmi, Smi, 0x562d5047) \
V(_Bigint, _lsh, Bigint_lsh, Dynamic, 0x40d9f1cc) \
V(_Bigint, _rsh, Bigint_rsh, Dynamic, 0x703f1a40) \
V(_Bigint, _absAdd, Bigint_absAdd, Dynamic, 0x50fb1e47) \
V(_Bigint, _absSub, Bigint_absSub, Dynamic, 0x2beeb34d) \
V(_Bigint, _mulAdd, Bigint_mulAdd, Dynamic, 0x4feffd35) \
V(_Bigint, _sqrAdd, Bigint_sqrAdd, Dynamic, 0x1acf0bbe) \
V(_Bigint, _estQuotientDigit, Bigint_estQuotientDigit, Dynamic, 0x0a2898bb) \
V(_Montgomery, _mulMod, Montgomery_mulMod, Dynamic, 0x26d5b8ee) \
V(_Double, >, Double_greaterThan, Bool, 0x0a202683) \
V(_Double, >=, Double_greaterEqualThan, Bool, 0x57491a62) \
V(_Double, <, Double_lessThan, Bool, 0x2e9d61bb) \
V(_Double, <=, Double_lessEqualThan, Bool, 0x099e4442) \
V(_Double, ==, Double_equal, Bool, 0x282bd876) \
V(_Double, +, Double_add, Double, 0x0ea5f450) \
V(_Double, -, Double_sub, Double, 0x76768546) \
V(_Double, *, Double_mul, Double, 0x66c66e3d) \
V(_Double, /, Double_div, Double, 0x034b9f08) \
V(_Double, get:hashCode, Double_hashCode, Dynamic, 0x702b0358) \
V(_Double, get:_identityHashCode, Double_identityHash, Dynamic, 0x7bd9e0ea) \
V(_Double, get:isNaN, Double_getIsNaN, Bool, 0x0af9604a) \
V(_Double, get:isInfinite, Double_getIsInfinite, Bool, 0x0f7a56e8) \
V(_Double, get:isNegative, Double_getIsNegative, Bool, 0x3a597395) \
V(_Double, _mulFromInteger, Double_mulFromInteger, Double, 0x4fb72915) \
V(_Double, .fromInteger, DoubleFromInteger, Double, 0x78d9de2c) \
V(_List, []=, ObjectArraySetIndexed, Dynamic, 0x51691f4c) \
V(_Bigint, _lsh, Bigint_lsh, Dynamic, 0x7b99f80e) \
V(_Bigint, _rsh, Bigint_rsh, Dynamic, 0x5262b3a1) \
V(_Bigint, _absAdd, Bigint_absAdd, Dynamic, 0x07cad968) \
V(_Bigint, _absSub, Bigint_absSub, Dynamic, 0x1bf1bb4c) \
V(_Bigint, _mulAdd, Bigint_mulAdd, Dynamic, 0x229759b7) \
V(_Bigint, _sqrAdd, Bigint_sqrAdd, Dynamic, 0x5212b81f) \
V(_Bigint, _estQuotientDigit, Bigint_estQuotientDigit, Dynamic, 0x4dd342fe) \
V(_Montgomery, _mulMod, Montgomery_mulMod, Dynamic, 0x17a515ac) \
V(_Double, >, Double_greaterThan, Bool, 0x4f1375a3) \
V(_Double, >=, Double_greaterEqualThan, Bool, 0x4260c184) \
V(_Double, <, Double_lessThan, Bool, 0x365d1eba) \
V(_Double, <=, Double_lessEqualThan, Bool, 0x74b5eb64) \
V(_Double, ==, Double_equal, Bool, 0x7ec67775) \
V(_Double, +, Double_add, Double, 0x53994370) \
V(_Double, -, Double_sub, Double, 0x3b69d466) \
V(_Double, *, Double_mul, Double, 0x2bb9bd5d) \
V(_Double, /, Double_div, Double, 0x483eee28) \
V(_Double, get:hashCode, Double_hashCode, Dynamic, 0x702b77b7) \
V(_Double, get:_identityHashCode, Double_identityHash, Dynamic, 0x7bda5549) \
V(_Double, get:isNaN, Double_getIsNaN, Bool, 0x0af9d4a9) \
V(_Double, get:isInfinite, Double_getIsInfinite, Bool, 0x0f7acb47) \
V(_Double, get:isNegative, Double_getIsNegative, Bool, 0x3a59e7f4) \
V(_Double, _mulFromInteger, Double_mulFromInteger, Double, 0x2017fcf6) \
V(_Double, .fromInteger, DoubleFromInteger, Double, 0x6d234f4b) \
V(_List, []=, ObjectArraySetIndexed, Dynamic, 0x6dff776c) \
V(_GrowableList, .withData, GrowableArray_Allocate, GrowableObjectArray, \
0x3468a26f) \
V(_GrowableList, add, GrowableArray_add, Dynamic, 0x1ce3b4f8) \
0x28b2138e) \
V(_GrowableList, add, GrowableArray_add, Dynamic, 0x40b490b8) \
V(_RegExp, _ExecuteMatch, RegExp_ExecuteMatch, Dynamic, 0x380184b1) \
V(_RegExp, _ExecuteMatchSticky, RegExp_ExecuteMatchSticky, Dynamic, \
0x79b8f955) \
V(Object, ==, ObjectEquals, Bool, 0x464c6a19) \
V(Object, get:runtimeType, ObjectRuntimeType, Type, 0x00e836ca) \
V(Object, _haveSameRuntimeType, ObjectHaveSameRuntimeType, Bool, 0x597b967a) \
V(_StringBase, get:hashCode, String_getHashCode, Smi, 0x78c35fe7) \
V(_StringBase, get:isEmpty, StringBaseIsEmpty, Bool, 0x1fa6a4c9) \
V(Object, ==, ObjectEquals, Bool, 0x7b32a55a) \
V(Object, get:runtimeType, ObjectRuntimeType, Type, 0x00e8ab29) \
V(Object, _haveSameRuntimeType, ObjectHaveSameRuntimeType, Bool, 0x4dc50799) \
V(_StringBase, get:hashCode, String_getHashCode, Smi, 0x78c3d446) \
V(_StringBase, get:isEmpty, StringBaseIsEmpty, Bool, 0x4a8b29c8) \
V(_StringBase, _substringMatches, StringBaseSubstringMatches, Bool, \
0x649cbeef) \
V(_StringBase, [], StringBaseCharAt, Dynamic, 0x14da5924) \
V(_OneByteString, get:hashCode, OneByteString_getHashCode, Smi, 0x78c35fe7) \
0x46de4f10) \
V(_StringBase, [], StringBaseCharAt, Dynamic, 0x7cbb8603) \
V(_OneByteString, get:hashCode, OneByteString_getHashCode, Smi, 0x78c3d446) \
V(_OneByteString, _substringUncheckedNative, \
OneByteString_substringUnchecked, OneByteString, 0x3538ad86) \
V(_OneByteString, _setAt, OneByteStringSetAt, Dynamic, 0x7d1b2b10) \
V(_OneByteString, _setAt, OneByteStringSetAt, Dynamic, 0x11ffddd1) \
V(_OneByteString, _allocate, OneByteString_allocate, OneByteString, \
0x604ec475) \
V(_OneByteString, ==, OneByteString_equality, Bool, 0x4719e83f) \
V(_TwoByteString, ==, TwoByteString_equality, Bool, 0x4719e83f) \
V(_Type, get:hashCode, Type_getHashCode, Smi, 0x18d0dde0) \
0x74933376) \
V(_OneByteString, ==, OneByteString_equality, Bool, 0x4eda197e) \
V(_TwoByteString, ==, TwoByteString_equality, Bool, 0x4eda197e) \
V(_Type, get:hashCode, Type_getHashCode, Smi, 0x18d1523f) \
V(::, _getHash, Object_getHash, Smi, 0x2827856d) \
V(::, _setHash, Object_setHash, Dynamic, 0x54cb3fbc) \
V(::, _setHash, Object_setHash, Dynamic, 0x690faebd) \
#define CORE_INTEGER_LIB_INTRINSIC_LIST(V) \
V(_IntegerImplementation, _addFromInteger, Integer_addFromInteger, \
Dynamic, 0x6a10c54a) \
V(_IntegerImplementation, +, Integer_add, Dynamic, 0x1bb7f19d) \
V(_IntegerImplementation, +, Integer_add, Dynamic, 0x4f5804de) \
V(_IntegerImplementation, _subFromInteger, Integer_subFromInteger, Dynamic, \
0x3fa4b1ed) \
V(_IntegerImplementation, -, Integer_sub, Dynamic, 0x649b007e) \
V(_IntegerImplementation, -, Integer_sub, Dynamic, 0x183b13bf) \
V(_IntegerImplementation, _mulFromInteger, Integer_mulFromInteger, \
Dynamic, 0x3216e299) \
V(_IntegerImplementation, *, Integer_mul, Dynamic, 0x0c74b07f) \
V(_IntegerImplementation, *, Integer_mul, Dynamic, 0x4014c3c0) \
V(_IntegerImplementation, _moduloFromInteger, Integer_moduloFromInteger, \
Dynamic, 0x6348b974) \
V(_IntegerImplementation, ~/, Integer_truncDivide, Dynamic, 0x305174bc) \
V(_IntegerImplementation, unary-, Integer_negate, Dynamic, 0x4e346e3b) \
V(_IntegerImplementation, ~/, Integer_truncDivide, Dynamic, 0x082b321e) \
V(_IntegerImplementation, unary-, Integer_negate, Dynamic, 0x428bf6fa) \
V(_IntegerImplementation, _bitAndFromInteger, Integer_bitAndFromInteger, \
Dynamic, 0x395b1678) \
V(_IntegerImplementation, &, Integer_bitAnd, Dynamic, 0x01b79186) \
V(_IntegerImplementation, &, Integer_bitAnd, Dynamic, 0x32c46c28) \
V(_IntegerImplementation, _bitOrFromInteger, Integer_bitOrFromInteger, \
Dynamic, 0x6a36b395) \
V(_IntegerImplementation, |, Integer_bitOr, Dynamic, 0x71c6af64) \
V(_IntegerImplementation, |, Integer_bitOr, Dynamic, 0x22d38a06) \
V(_IntegerImplementation, _bitXorFromInteger, Integer_bitXorFromInteger, \
Dynamic, 0x72da93f0) \
V(_IntegerImplementation, ^, Integer_bitXor, Dynamic, 0x47faa8a5) \
V(_IntegerImplementation, ^, Integer_bitXor, Dynamic, 0x79078347) \
V(_IntegerImplementation, _greaterThanFromInteger, \
Integer_greaterThanFromInt, Bool, 0x4a50ed58) \
V(_IntegerImplementation, >, Integer_greaterThan, Bool, 0x23dd0c00) \
V(_IntegerImplementation, ==, Integer_equal, Bool, 0x7d51f04d) \
V(_IntegerImplementation, >, Integer_greaterThan, Bool, 0x6599a6e1) \
V(_IntegerImplementation, ==, Integer_equal, Bool, 0x6d56616e) \
V(_IntegerImplementation, _equalToInteger, Integer_equalToInteger, Bool, \
0x063be842) \
V(_IntegerImplementation, <, Integer_lessThan, Bool, 0x2e9d61bb) \
V(_IntegerImplementation, <=, Integer_lessEqualThan, Bool, 0x099e4442) \
V(_IntegerImplementation, >=, Integer_greaterEqualThan, Bool, 0x57491a62) \
V(_IntegerImplementation, <<, Integer_shl, Dynamic, 0x1050c9a8) \
V(_IntegerImplementation, >>, Integer_sar, Dynamic, 0x39af1c69) \
V(_IntegerImplementation, <, Integer_lessThan, Bool, 0x365d1eba) \
V(_IntegerImplementation, <=, Integer_lessEqualThan, Bool, 0x74b5eb64) \
V(_IntegerImplementation, >=, Integer_greaterEqualThan, Bool, 0x4260c184) \
V(_IntegerImplementation, <<, Integer_shl, Dynamic, 0x415da44a) \
V(_IntegerImplementation, >>, Integer_sar, Dynamic, 0x6abbf70b) \
V(_Double, toInt, DoubleToInteger, Dynamic, 0x26ef344b) \
#define MATH_LIB_INTRINSIC_LIST(V) \
V(::, sqrt, MathSqrt, Double, 0x70482cf3) \
V(_Random, _nextState, Random_nextState, Dynamic, 0x268dec36) \
V(_Random, _nextState, Random_nextState, Dynamic, 0x2842c4d5) \
#define GRAPH_MATH_LIB_INTRINSIC_LIST(V) \
V(::, sin, MathSin, Double, 0x6b7bd98c) \
@ -248,94 +248,94 @@ namespace dart {
V(::, atan2, MathAtan2, Double, 0x39f1fa41) \
#define TYPED_DATA_LIB_INTRINSIC_LIST(V) \
V(Int8List, ., TypedData_Int8Array_factory, TypedDataInt8Array, 0x165876c2) \
V(Int8List, ., TypedData_Int8Array_factory, TypedDataInt8Array, 0x7e39a3a1) \
V(Uint8List, ., TypedData_Uint8Array_factory, TypedDataUint8Array, \
0x52988118) \
0x3a79adf7) \
V(Uint8ClampedList, ., TypedData_Uint8ClampedArray_factory, \
TypedDataUint8ClampedArray, 0x001256b6) \
TypedDataUint8ClampedArray, 0x67f38395) \
V(Int16List, ., TypedData_Int16Array_factory, TypedDataInt16Array, \
0x7c9690c9) \
0x6477bda8) \
V(Uint16List, ., TypedData_Uint16Array_factory, TypedDataUint16Array, \
0x6f2698c3) \
0x5707c5a2) \
V(Int32List, ., TypedData_Int32Array_factory, TypedDataInt32Array, \
0x43b5bf2f) \
0x2b96ec0e) \
V(Uint32List, ., TypedData_Uint32Array_factory, \
TypedDataUint32Array, 0x243ae083) \
TypedDataUint32Array, 0x0c1c0d62) \
V(Int64List, ., TypedData_Int64Array_factory, \
TypedDataInt64Array, 0x3fb987a6) \
TypedDataInt64Array, 0x279ab485) \
V(Uint64List, ., TypedData_Uint64Array_factory, \
TypedDataUint64Array, 0x13ea5ce3) \
TypedDataUint64Array, 0x7bcb89c2) \
V(Float32List, ., TypedData_Float32Array_factory, \
TypedDataFloat32Array, 0x5b6f3f2a) \
TypedDataFloat32Array, 0x43506c09) \
V(Float64List, ., TypedData_Float64Array_factory, \
TypedDataFloat64Array, 0x37fd11d0) \
TypedDataFloat64Array, 0x1fde3eaf) \
V(Float32x4List, ., TypedData_Float32x4Array_factory, \
TypedDataFloat32x4Array, 0x625f03f7) \
TypedDataFloat32x4Array, 0x4a4030d6) \
V(Int32x4List, ., TypedData_Int32x4Array_factory, \
TypedDataInt32x4Array, 0x05eef727) \
TypedDataInt32x4Array, 0x6dd02406) \
V(Float64x2List, ., TypedData_Float64x2Array_factory, \
TypedDataFloat64x2Array, 0x00ad21b8) \
TypedDataFloat64x2Array, 0x688e4e97) \
#define GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \
V(_Int8List, [], Int8ArrayGetIndexed, Smi, 0x14885f2e) \
V(_Int8List, []=, Int8ArraySetIndexed, Dynamic, 0x423e16f0) \
V(_Uint8List, [], Uint8ArrayGetIndexed, Smi, 0x539f6bd6) \
V(_Uint8List, []=, Uint8ArraySetIndexed, Dynamic, 0x2fad7f61) \
V(_ExternalUint8Array, [], ExternalUint8ArrayGetIndexed, Smi, 0x539f6bd6) \
V(_Int8List, [], Int8ArrayGetIndexed, Smi, 0x49767a2c) \
V(_Int8List, []=, Int8ArraySetIndexed, Dynamic, 0x24f42cd0) \
V(_Uint8List, [], Uint8ArrayGetIndexed, Smi, 0x088d86d4) \
V(_Uint8List, []=, Uint8ArraySetIndexed, Dynamic, 0x12639541) \
V(_ExternalUint8Array, [], ExternalUint8ArrayGetIndexed, Smi, 0x088d86d4) \
V(_ExternalUint8Array, []=, ExternalUint8ArraySetIndexed, Dynamic, \
0x2fad7f61) \
V(_Uint8ClampedList, [], Uint8ClampedArrayGetIndexed, Smi, 0x539f6bd6) \
V(_Uint8ClampedList, []=, Uint8ClampedArraySetIndexed, Dynamic, 0x04dac5c1) \
0x12639541) \
V(_Uint8ClampedList, [], Uint8ClampedArrayGetIndexed, Smi, 0x088d86d4) \
V(_Uint8ClampedList, []=, Uint8ClampedArraySetIndexed, Dynamic, 0x6790dba1) \
V(_ExternalUint8ClampedArray, [], ExternalUint8ClampedArrayGetIndexed, \
Smi, 0x539f6bd6) \
Smi, 0x088d86d4) \
V(_ExternalUint8ClampedArray, []=, ExternalUint8ClampedArraySetIndexed, \
Dynamic, 0x04dac5c1) \
V(_Int16List, [], Int16ArrayGetIndexed, Smi, 0x29d82e4a) \
V(_Int16List, []=, Int16ArraySetIndexed, Dynamic, 0x2b986c41) \
V(_Uint16List, [], Uint16ArrayGetIndexed, Smi, 0x2a5bb595) \
V(_Uint16List, []=, Uint16ArraySetIndexed, Dynamic, 0x4c45b32f) \
V(_Int32List, [], Int32ArrayGetIndexed, Dynamic, 0x16d2b8df) \
V(_Int32List, []=, Int32ArraySetIndexed, Dynamic, 0x38298243) \
V(_Uint32List, [], Uint32ArrayGetIndexed, Dynamic, 0x63983dd0) \
V(_Uint32List, []=, Uint32ArraySetIndexed, Dynamic, 0x1f3f0499) \
V(_Float64List, [], Float64ArrayGetIndexed, Double, 0x55832988) \
V(_Float64List, []=, Float64ArraySetIndexed, Dynamic, 0x2cfebd47) \
V(_Float32List, [], Float32ArrayGetIndexed, Double, 0x25f01521) \
V(_Float32List, []=, Float32ArraySetIndexed, Dynamic, 0x35c7780b) \
V(_Float32x4List, [], Float32x4ArrayGetIndexed, Float32x4, 0x5d9ec2ed) \
V(_Float32x4List, []=, Float32x4ArraySetIndexed, Dynamic, 0x2340a652) \
V(_Int32x4List, [], Int32x4ArrayGetIndexed, Int32x4, 0x168a949e) \
V(_Int32x4List, []=, Int32x4ArraySetIndexed, Dynamic, 0x59b0878b) \
V(_Float64x2List, [], Float64x2ArrayGetIndexed, Float64x2, 0x2f5bf0e3) \
V(_Float64x2List, []=, Float64x2ArraySetIndexed, Dynamic, 0x13eeb4eb) \
V(_TypedList, get:length, TypedDataLength, Smi, 0x20915079) \
V(_Float32x4, get:x, Float32x4ShuffleX, Double, 0x63d1359e) \
V(_Float32x4, get:y, Float32x4ShuffleY, Double, 0x2034af7a) \
V(_Float32x4, get:z, Float32x4ShuffleZ, Double, 0x13189219) \
V(_Float32x4, get:w, Float32x4ShuffleW, Double, 0x6989c47f) \
V(_Float32x4, *, Float32x4Mul, Float32x4, 0x760b3bd3) \
V(_Float32x4, -, Float32x4Sub, Float32x4, 0x56c01782) \
V(_Float32x4, +, Float32x4Add, Float32x4, 0x181bc622) \
Dynamic, 0x6790dba1) \
V(_Int16List, [], Int16ArrayGetIndexed, Smi, 0x5ec64948) \
V(_Int16List, []=, Int16ArraySetIndexed, Dynamic, 0x0e4e8221) \
V(_Uint16List, [], Uint16ArrayGetIndexed, Smi, 0x5f49d093) \
V(_Uint16List, []=, Uint16ArraySetIndexed, Dynamic, 0x2efbc90f) \
V(_Int32List, [], Int32ArrayGetIndexed, Dynamic, 0x4bc0d3dd) \
V(_Int32List, []=, Int32ArraySetIndexed, Dynamic, 0x1adf9823) \
V(_Uint32List, [], Uint32ArrayGetIndexed, Dynamic, 0x188658ce) \
V(_Uint32List, []=, Uint32ArraySetIndexed, Dynamic, 0x01f51a79) \
V(_Float64List, [], Float64ArrayGetIndexed, Double, 0x0a714486) \
V(_Float64List, []=, Float64ArraySetIndexed, Dynamic, 0x04937367) \
V(_Float32List, [], Float32ArrayGetIndexed, Double, 0x5ade301f) \
V(_Float32List, []=, Float32ArraySetIndexed, Dynamic, 0x0d5c2e2b) \
V(_Float32x4List, [], Float32x4ArrayGetIndexed, Float32x4, 0x128cddeb) \
V(_Float32x4List, []=, Float32x4ArraySetIndexed, Dynamic, 0x7ad55c72) \
V(_Int32x4List, [], Int32x4ArrayGetIndexed, Int32x4, 0x4b78af9c) \
V(_Int32x4List, []=, Int32x4ArraySetIndexed, Dynamic, 0x31453dab) \
V(_Float64x2List, [], Float64x2ArrayGetIndexed, Float64x2, 0x644a0be1) \
V(_Float64x2List, []=, Float64x2ArraySetIndexed, Dynamic, 0x6b836b0b) \
V(_TypedList, get:length, TypedDataLength, Smi, 0x2091c4d8) \
V(_Float32x4, get:x, Float32x4ShuffleX, Double, 0x63d1a9fd) \
V(_Float32x4, get:y, Float32x4ShuffleY, Double, 0x203523d9) \
V(_Float32x4, get:z, Float32x4ShuffleZ, Double, 0x13190678) \
V(_Float32x4, get:w, Float32x4ShuffleW, Double, 0x698a38de) \
V(_Float32x4, *, Float32x4Mul, Float32x4, 0x5dec68b2) \
V(_Float32x4, -, Float32x4Sub, Float32x4, 0x3ea14461) \
V(_Float32x4, +, Float32x4Add, Float32x4, 0x7ffcf301) \
#define GRAPH_CORE_INTRINSICS_LIST(V) \
V(_List, get:length, ObjectArrayLength, Smi, 0x2594af31) \
V(_List, [], ObjectArrayGetIndexed, Dynamic, 0x7d5c734f) \
V(_ImmutableList, get:length, ImmutableArrayLength, Smi, 0x2594af31) \
V(_ImmutableList, [], ImmutableArrayGetIndexed, Dynamic, 0x7d5c734f) \
V(_GrowableList, get:length, GrowableArrayLength, Smi, 0x18dd1255) \
V(_GrowableList, get:_capacity, GrowableArrayCapacity, Smi, 0x2e044a01) \
V(_GrowableList, _setData, GrowableArraySetData, Dynamic, 0x55dd7669) \
V(_GrowableList, _setLength, GrowableArraySetLength, Dynamic, 0x0d5d28fb) \
V(_GrowableList, [], GrowableArrayGetIndexed, Dynamic, 0x5c8eb511) \
V(_GrowableList, []=, GrowableArraySetIndexed, Dynamic, 0x2a0356b6) \
V(_StringBase, get:length, StringBaseLength, Smi, 0x2a2c8f72) \
V(_List, get:length, ObjectArrayLength, Smi, 0x25952390) \
V(_List, [], ObjectArrayGetIndexed, Dynamic, 0x653da02e) \
V(_ImmutableList, get:length, ImmutableArrayLength, Smi, 0x25952390) \
V(_ImmutableList, [], ImmutableArrayGetIndexed, Dynamic, 0x653da02e) \
V(_GrowableList, get:length, GrowableArrayLength, Smi, 0x18dd86b4) \
V(_GrowableList, get:_capacity, GrowableArrayCapacity, Smi, 0x2e04be60) \
V(_GrowableList, _setData, GrowableArraySetData, Dynamic, 0x3dbea348) \
V(_GrowableList, _setLength, GrowableArraySetLength, Dynamic, 0x753e55da) \
V(_GrowableList, [], GrowableArrayGetIndexed, Dynamic, 0x446fe1f0) \
V(_GrowableList, []=, GrowableArraySetIndexed, Dynamic, 0x4699aed6) \
V(_StringBase, get:length, StringBaseLength, Smi, 0x2a2d03d1) \
V(_OneByteString, codeUnitAt, OneByteStringCodeUnitAt, Smi, 0x55a0a1f3) \
V(_TwoByteString, codeUnitAt, TwoByteStringCodeUnitAt, Smi, 0x55a0a1f3) \
V(_ExternalOneByteString, codeUnitAt, ExternalOneByteStringCodeUnitAt, \
Smi, 0x55a0a1f3) \
V(_ExternalTwoByteString, codeUnitAt, ExternalTwoByteStringCodeUnitAt, \
Smi, 0x55a0a1f3) \
V(_Double, unary-, DoubleFlipSignBit, Double, 0x6bff8eb0) \
V(_Double, unary-, DoubleFlipSignBit, Double, 0x6db4674f) \
V(_Double, truncateToDouble, DoubleTruncate, Double, 0x2f27e5d3) \
V(_Double, roundToDouble, DoubleRound, Double, 0x2f89c512) \
V(_Double, floorToDouble, DoubleFloor, Double, 0x6aa87a5f) \
@ -357,9 +357,9 @@ namespace dart {
#define ASYNC_LIB_INTRINSIC_LIST(V) \
V(::, _clearAsyncThreadStackTrace, ClearAsyncThreadStackTrace, \
Dynamic, 0x2d287286) \
Dynamic, 0x2edd4b25) \
V(::, _setAsyncThreadStackTrace, SetAsyncThreadStackTrace, \
Dynamic, 0x1d12fcc8)
Dynamic, 0x04f429a7)
#define ALL_INTRINSICS_NO_INTEGER_LIB_LIST(V) \
ASYNC_LIB_INTRINSIC_LIST(V) \
@ -379,73 +379,73 @@ namespace dart {
// A list of core function that should always be inlined.
#define INLINE_WHITE_LIST(V) \
V(Object, ==, ObjectEquals, 0x464c6a19) \
V(_List, get:length, ObjectArrayLength, 0x2594af31) \
V(_ImmutableList, get:length, ImmutableArrayLength, 0x2594af31) \
V(_TypedList, get:length, TypedDataLength, 0x20915079) \
V(_GrowableList, get:length, GrowableArrayLength, 0x18dd1255) \
V(_GrowableList, get:_capacity, GrowableArrayCapacity, 0x2e044a01) \
V(_GrowableList, add, GrowableListAdd, 0x1ce3b4f8) \
V(_GrowableList, removeLast, GrowableListRemoveLast, 0x3daaaca4) \
V(_StringBase, get:length, StringBaseLength, 0x2a2c8f72) \
V(ListIterator, moveNext, ListIteratorMoveNext, 0x7ead154d) \
V(_FixedSizeArrayIterator, moveNext, FixedListIteratorMoveNext, 0x4197892b) \
V(_GrowableList, get:iterator, GrowableArrayIterator, 0x64c204d5) \
V(_GrowableList, forEach, GrowableArrayForEach, 0x4cc8215b) \
V(_List, ., ObjectArrayAllocate, 0x6c3b54ee) \
V(ListMixin, get:isEmpty, ListMixinIsEmpty, 0x7a327465) \
V(_List, get:iterator, ObjectArrayIterator, 0x757431f3) \
V(_List, forEach, ObjectArrayForEach, 0x4dfea652) \
V(_List, _slice, ObjectArraySlice, 0x671ebc98) \
V(_ImmutableList, get:iterator, ImmutableArrayIterator, 0x757431f3) \
V(_ImmutableList, forEach, ImmutableArrayForEach, 0x4dfea652) \
V(_Uint8ArrayView, [], Uint8ArrayViewGetIndexed, 0x4e8a9e40) \
V(_Uint8ArrayView, []=, Uint8ArrayViewSetIndexed, 0x46f85777) \
V(_Int8ArrayView, [], Int8ArrayViewGetIndexed, 0x4fb4a051) \
V(_Int8ArrayView, []=, Int8ArrayViewSetIndexed, 0x443418ed) \
V(_ByteDataView, setInt8, ByteDataViewSetInt8, 0x6502a95f) \
V(_ByteDataView, setUint8, ByteDataViewSetUint8, 0x7b051d40) \
V(_ByteDataView, setInt16, ByteDataViewSetInt16, 0x41bf9a68) \
V(_ByteDataView, setUint16, ByteDataViewSetUint16, 0x384e7797) \
V(_ByteDataView, setInt32, ByteDataViewSetInt32, 0x41973c2e) \
V(_ByteDataView, setUint32, ByteDataViewSetUint32, 0x49a7590e) \
V(_ByteDataView, setInt64, ByteDataViewSetInt64, 0x31e47b84) \
V(_ByteDataView, setUint64, ByteDataViewSetUint64, 0x57daedc6) \
V(_ByteDataView, setFloat32, ByteDataViewSetFloat32, 0x6c92cb69) \
V(_ByteDataView, setFloat64, ByteDataViewSetFloat64, 0x6f4b64ab) \
V(_ByteDataView, getInt8, ByteDataViewGetInt8, 0x655d546e) \
V(_ByteDataView, getUint8, ByteDataViewGetUint8, 0x5a819513) \
V(_ByteDataView, getInt16, ByteDataViewGetInt16, 0x449cf8de) \
V(_ByteDataView, getUint16, ByteDataViewGetUint16, 0x2f585007) \
V(_ByteDataView, getInt32, ByteDataViewGetInt32, 0x1590e92b) \
V(_ByteDataView, getUint32, ByteDataViewGetUint32, 0x0ed36ced) \
V(_ByteDataView, getInt64, ByteDataViewGetInt64, 0x535fe14d) \
V(_ByteDataView, getUint64, ByteDataViewGetUint64, 0x469be77a) \
V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 0x32567817) \
V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 0x322badf5) \
V(Object, ==, ObjectEquals, 0x7b32a55a) \
V(_List, get:length, ObjectArrayLength, 0x25952390) \
V(_ImmutableList, get:length, ImmutableArrayLength, 0x25952390) \
V(_TypedList, get:length, TypedDataLength, 0x2091c4d8) \
V(_GrowableList, get:length, GrowableArrayLength, 0x18dd86b4) \
V(_GrowableList, get:_capacity, GrowableArrayCapacity, 0x2e04be60) \
V(_GrowableList, add, GrowableListAdd, 0x40b490b8) \
V(_GrowableList, removeLast, GrowableListRemoveLast, 0x007855e5) \
V(_StringBase, get:length, StringBaseLength, 0x2a2d03d1) \
V(ListIterator, moveNext, ListIteratorMoveNext, 0x2dca30ce) \
V(_FixedSizeArrayIterator, moveNext, FixedListIteratorMoveNext, 0x324eb20b) \
V(_GrowableList, get:iterator, GrowableArrayIterator, 0x5bd2ef37) \
V(_GrowableList, forEach, GrowableArrayForEach, 0x74900bb8) \
V(_List, ., ObjectArrayAllocate, 0x2121902f) \
V(ListMixin, get:isEmpty, ListMixinIsEmpty, 0x7be74d04) \
V(_List, get:iterator, ObjectArrayIterator, 0x6c851c55) \
V(_List, forEach, ObjectArrayForEach, 0x11406b13) \
V(_List, _slice, ObjectArraySlice, 0x4c865d1d) \
V(_ImmutableList, get:iterator, ImmutableArrayIterator, 0x6c851c55) \
V(_ImmutableList, forEach, ImmutableArrayForEach, 0x11406b13) \
V(_Uint8ArrayView, [], Uint8ArrayViewGetIndexed, 0x270993be) \
V(_Uint8ArrayView, []=, Uint8ArrayViewSetIndexed, 0x48f49557) \
V(_Int8ArrayView, [], Int8ArrayViewGetIndexed, 0x283395cf) \
V(_Int8ArrayView, []=, Int8ArrayViewSetIndexed, 0x463056cd) \
V(_ByteDataView, setInt8, ByteDataViewSetInt8, 0x6395293e) \
V(_ByteDataView, setUint8, ByteDataViewSetUint8, 0x79979d1f) \
V(_ByteDataView, setInt16, ByteDataViewSetInt16, 0x634abbe8) \
V(_ByteDataView, setUint16, ByteDataViewSetUint16, 0x59d99917) \
V(_ByteDataView, setInt32, ByteDataViewSetInt32, 0x63225dae) \
V(_ByteDataView, setUint32, ByteDataViewSetUint32, 0x6b327a8e) \
V(_ByteDataView, setInt64, ByteDataViewSetInt64, 0x536f9d04) \
V(_ByteDataView, setUint64, ByteDataViewSetUint64, 0x79660f46) \
V(_ByteDataView, setFloat32, ByteDataViewSetFloat32, 0x28c310c9) \
V(_ByteDataView, setFloat64, ByteDataViewSetFloat64, 0x2b7baa0b) \
V(_ByteDataView, getInt8, ByteDataViewGetInt8, 0x68448b4d) \
V(_ByteDataView, getUint8, ByteDataViewGetUint8, 0x5d68cbf2) \
V(_ByteDataView, getInt16, ByteDataViewGetInt16, 0x1559da61) \
V(_ByteDataView, getUint16, ByteDataViewGetUint16, 0x281f48a4) \
V(_ByteDataView, getInt32, ByteDataViewGetInt32, 0x664dcaae) \
V(_ByteDataView, getUint32, ByteDataViewGetUint32, 0x079a658a) \
V(_ByteDataView, getInt64, ByteDataViewGetInt64, 0x241cc2d0) \
V(_ByteDataView, getUint64, ByteDataViewGetUint64, 0x3f62e017) \
V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 0x1d61a915) \
V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 0x1d36def3) \
V(::, exp, MathExp, 0x32ab9efa) \
V(::, log, MathLog, 0x1ee8f9fc) \
V(::, max, MathMax, 0x5e8ae02a) \
V(::, min, MathMin, 0x1499bbdc) \
V(::, pow, MathPow, 0x5f119fa5) \
V(::, _classRangeCheck, ClassRangeCheck, 0x16a2fc83) \
V(::, _classRangeCheckNegative, ClassRangeCheckNegated, 0x46898c74) \
V(::, _classRangeAssert, ClassRangeAssert, 0x3ccbdf6e) \
V(::, _classIdEqualsAssert, ClassIdEqualsAssert, 0x4dc80932) \
V(Lists, copy, ListsCopy, 0x714584f8) \
V(_Bigint, get:_neg, Bigint_getNeg, 0x356019c4) \
V(_Bigint, get:_used, Bigint_getUsed, 0x33ba5131) \
V(_Bigint, get:_digits, Bigint_getDigits, 0x68defc99) \
V(_HashVMBase, get:_index, LinkedHashMap_getIndex, 0x0246fcf8) \
V(_HashVMBase, set:_index, LinkedHashMap_setIndex, 0x53a33a00) \
V(_HashVMBase, get:_data, LinkedHashMap_getData, 0x2d79fc4d) \
V(_HashVMBase, set:_data, LinkedHashMap_setData, 0x129a9708) \
V(_HashVMBase, get:_usedData, LinkedHashMap_getUsedData, 0x0885258e) \
V(_HashVMBase, set:_usedData, LinkedHashMap_setUsedData, 0x631d2ea6) \
V(_HashVMBase, get:_hashMask, LinkedHashMap_getHashMask, 0x32f33cdc) \
V(_HashVMBase, set:_hashMask, LinkedHashMap_setHashMask, 0x75f4287b) \
V(_HashVMBase, get:_deletedKeys, LinkedHashMap_getDeletedKeys, 0x55840d63) \
V(_HashVMBase, set:_deletedKeys, LinkedHashMap_setDeletedKeys, 0x5e83ecad) \
V(::, max, MathMax, 0x377e8889) \
V(::, min, MathMin, 0x32ebc57d) \
V(::, pow, MathPow, 0x79efc5a2) \
V(::, _classRangeCheck, ClassRangeCheck, 0x2ae76b84) \
V(::, _classRangeCheckNegative, ClassRangeCheckNegated, 0x5acdfb75) \
V(::, _classRangeAssert, ClassRangeAssert, 0x6c77116e) \
V(::, _classIdEqualsAssert, ClassIdEqualsAssert, 0x09e0ae72) \
V(Lists, copy, ListsCopy, 0x40e974f6) \
V(_Bigint, get:_neg, Bigint_getNeg, 0x35608e23) \
V(_Bigint, get:_used, Bigint_getUsed, 0x33bac590) \
V(_Bigint, get:_digits, Bigint_getDigits, 0x68df70f8) \
V(_HashVMBase, get:_index, LinkedHashMap_getIndex, 0x02477157) \
V(_HashVMBase, set:_index, LinkedHashMap_setIndex, 0x4fc8d5e0) \
V(_HashVMBase, get:_data, LinkedHashMap_getData, 0x2d7a70ac) \
V(_HashVMBase, set:_data, LinkedHashMap_setData, 0x0ec032e8) \
V(_HashVMBase, get:_usedData, LinkedHashMap_getUsedData, 0x088599ed) \
V(_HashVMBase, set:_usedData, LinkedHashMap_setUsedData, 0x5f42ca86) \
V(_HashVMBase, get:_hashMask, LinkedHashMap_getHashMask, 0x32f3b13b) \
V(_HashVMBase, set:_hashMask, LinkedHashMap_setHashMask, 0x7219c45b) \
V(_HashVMBase, get:_deletedKeys, LinkedHashMap_getDeletedKeys, 0x558481c2) \
V(_HashVMBase, set:_deletedKeys, LinkedHashMap_setDeletedKeys, 0x5aa9888d) \
// A list of core function that should never be inlined.
#define INLINE_BLACK_LIST(V) \
@ -457,42 +457,42 @@ namespace dart {
V(::, sin, MathSin, 0x6b7bd98c) \
V(::, sqrt, MathSqrt, 0x70482cf3) \
V(::, tan, MathTan, 0x3bcd772a) \
V(_Bigint, _lsh, Bigint_lsh, 0x40d9f1cc) \
V(_Bigint, _rsh, Bigint_rsh, 0x703f1a40) \
V(_Bigint, _absAdd, Bigint_absAdd, 0x50fb1e47) \
V(_Bigint, _absSub, Bigint_absSub, 0x2beeb34d) \
V(_Bigint, _mulAdd, Bigint_mulAdd, 0x4feffd35) \
V(_Bigint, _sqrAdd, Bigint_sqrAdd, 0x1acf0bbe) \
V(_Bigint, _estQuotientDigit, Bigint_estQuotientDigit, 0x0a2898bb) \
V(_Montgomery, _mulMod, Montgomery_mulMod, 0x26d5b8ee) \
V(_Double, >, Double_greaterThan, 0x0a202683) \
V(_Double, >=, Double_greaterEqualThan, 0x57491a62) \
V(_Double, <, Double_lessThan, 0x2e9d61bb) \
V(_Double, <=, Double_lessEqualThan, 0x099e4442) \
V(_Double, ==, Double_equal, 0x282bd876) \
V(_Double, +, Double_add, 0x0ea5f450) \
V(_Double, -, Double_sub, 0x76768546) \
V(_Double, *, Double_mul, 0x66c66e3d) \
V(_Double, /, Double_div, 0x034b9f08) \
V(_IntegerImplementation, +, Integer_add, 0x1bb7f19d) \
V(_IntegerImplementation, -, Integer_sub, 0x649b007e) \
V(_IntegerImplementation, *, Integer_mul, 0x0c74b07f) \
V(_IntegerImplementation, ~/, Integer_truncDivide, 0x305174bc) \
V(_IntegerImplementation, unary-, Integer_negate, 0x4e346e3b) \
V(_IntegerImplementation, &, Integer_bitAnd, 0x01b79186) \
V(_IntegerImplementation, |, Integer_bitOr, 0x71c6af64) \
V(_IntegerImplementation, ^, Integer_bitXor, 0x47faa8a5) \
V(_IntegerImplementation, >, Integer_greaterThan, 0x23dd0c00) \
V(_IntegerImplementation, ==, Integer_equal, 0x7d51f04d) \
V(_IntegerImplementation, <, Integer_lessThan, 0x2e9d61bb) \
V(_IntegerImplementation, <=, Integer_lessEqualThan, 0x099e4442) \
V(_IntegerImplementation, >=, Integer_greaterEqualThan, 0x57491a62) \
V(_IntegerImplementation, <<, Integer_shl, 0x1050c9a8) \
V(_IntegerImplementation, >>, Integer_sar, 0x39af1c69) \
V(_Bigint, _lsh, Bigint_lsh, 0x7b99f80e) \
V(_Bigint, _rsh, Bigint_rsh, 0x5262b3a1) \
V(_Bigint, _absAdd, Bigint_absAdd, 0x07cad968) \
V(_Bigint, _absSub, Bigint_absSub, 0x1bf1bb4c) \
V(_Bigint, _mulAdd, Bigint_mulAdd, 0x229759b7) \
V(_Bigint, _sqrAdd, Bigint_sqrAdd, 0x5212b81f) \
V(_Bigint, _estQuotientDigit, Bigint_estQuotientDigit, 0x4dd342fe) \
V(_Montgomery, _mulMod, Montgomery_mulMod, 0x17a515ac) \
V(_Double, >, Double_greaterThan, 0x4f1375a3) \
V(_Double, >=, Double_greaterEqualThan, 0x4260c184) \
V(_Double, <, Double_lessThan, 0x365d1eba) \
V(_Double, <=, Double_lessEqualThan, 0x74b5eb64) \
V(_Double, ==, Double_equal, 0x7ec67775) \
V(_Double, +, Double_add, 0x53994370) \
V(_Double, -, Double_sub, 0x3b69d466) \
V(_Double, *, Double_mul, 0x2bb9bd5d) \
V(_Double, /, Double_div, 0x483eee28) \
V(_IntegerImplementation, +, Integer_add, 0x4f5804de) \
V(_IntegerImplementation, -, Integer_sub, 0x183b13bf) \
V(_IntegerImplementation, *, Integer_mul, 0x4014c3c0) \
V(_IntegerImplementation, ~/, Integer_truncDivide, 0x082b321e) \
V(_IntegerImplementation, unary-, Integer_negate, 0x428bf6fa) \
V(_IntegerImplementation, &, Integer_bitAnd, 0x32c46c28) \
V(_IntegerImplementation, |, Integer_bitOr, 0x22d38a06) \
V(_IntegerImplementation, ^, Integer_bitXor, 0x79078347) \
V(_IntegerImplementation, >, Integer_greaterThan, 0x6599a6e1) \
V(_IntegerImplementation, ==, Integer_equal, 0x6d56616e) \
V(_IntegerImplementation, <, Integer_lessThan, 0x365d1eba) \
V(_IntegerImplementation, <=, Integer_lessEqualThan, 0x74b5eb64) \
V(_IntegerImplementation, >=, Integer_greaterEqualThan, 0x4260c184) \
V(_IntegerImplementation, <<, Integer_shl, 0x415da44a) \
V(_IntegerImplementation, >>, Integer_sar, 0x6abbf70b) \
// A list of core functions that internally dispatch based on received id.
#define POLYMORPHIC_TARGET_LIST(V) \
V(_StringBase, [], StringBaseCharAt, 0x14da5924) \
V(_StringBase, [], StringBaseCharAt, 0x7cbb8603) \
V(_TypedList, _getInt8, ByteArrayBaseGetInt8, 0x7041895a) \
V(_TypedList, _getUint8, ByteArrayBaseGetUint8, 0x336fa3ea) \
V(_TypedList, _getInt16, ByteArrayBaseGetInt16, 0x231bbe2e) \
@ -503,17 +503,17 @@ namespace dart {
V(_TypedList, _getFloat64, ByteArrayBaseGetFloat64, 0x236c6e7a) \
V(_TypedList, _getFloat32x4, ByteArrayBaseGetFloat32x4, 0x5c367ffb) \
V(_TypedList, _getInt32x4, ByteArrayBaseGetInt32x4, 0x772d1c0f) \
V(_TypedList, _setInt8, ByteArrayBaseSetInt8, 0x7dd630a9) \
V(_TypedList, _setUint8, ByteArrayBaseSetInt8, 0x009d6a08) \
V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 0x0a9d8539) \
V(_TypedList, _setUint16, ByteArrayBaseSetInt16, 0x0339aa55) \
V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 0x68f6ecc6) \
V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 0x5f249ccc) \
V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 0x6ef655ba) \
V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 0x23c3584c) \
V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 0x2b20798d) \
V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, 0x72d3ec93) \
V(Object, get:runtimeType, ObjectRuntimeType, 0x00e836ca)
V(_TypedList, _setInt8, ByteArrayBaseSetInt8, 0x12bae36a) \
V(_TypedList, _setUint8, ByteArrayBaseSetInt8, 0x15821cc9) \
V(_TypedList, _setInt16, ByteArrayBaseSetInt16, 0x1f8237fa) \
V(_TypedList, _setUint16, ByteArrayBaseSetInt16, 0x181e5d16) \
V(_TypedList, _setInt32, ByteArrayBaseSetInt32, 0x7ddb9f87) \
V(_TypedList, _setUint32, ByteArrayBaseSetUint32, 0x74094f8d) \
V(_TypedList, _setFloat32, ByteArrayBaseSetFloat32, 0x03db087b) \
V(_TypedList, _setFloat64, ByteArrayBaseSetFloat64, 0x38a80b0d) \
V(_TypedList, _setFloat32x4, ByteArrayBaseSetFloat32x4, 0x40052c4e) \
V(_TypedList, _setInt32x4, ByteArrayBaseSetInt32x4, 0x07b89f54) \
V(Object, get:runtimeType, ObjectRuntimeType, 0x00e8ab29)
// clang-format on
@ -574,27 +574,27 @@ class MethodTokenRecognizer : public AllStatic {
// (factory-name-symbol, class-name-string, constructor-name-string,
// result-cid, fingerprint).
#define RECOGNIZED_LIST_FACTORY_LIST(V) \
V(_ListFactory, _List, ., kArrayCid, 0x6c3b54ee) \
V(_ListFactory, _List, ., kArrayCid, 0x2121902f) \
V(_GrowableListWithData, _GrowableList, .withData, kGrowableObjectArrayCid, \
0x3468a26f) \
0x28b2138e) \
V(_GrowableListFactory, _GrowableList, ., kGrowableObjectArrayCid, \
0x7c4346ab) \
V(_Int8ArrayFactory, Int8List, ., kTypedDataInt8ArrayCid, 0x165876c2) \
V(_Uint8ArrayFactory, Uint8List, ., kTypedDataUint8ArrayCid, 0x52988118) \
0x3eed680b) \
V(_Int8ArrayFactory, Int8List, ., kTypedDataInt8ArrayCid, 0x7e39a3a1) \
V(_Uint8ArrayFactory, Uint8List, ., kTypedDataUint8ArrayCid, 0x3a79adf7) \
V(_Uint8ClampedArrayFactory, Uint8ClampedList, ., \
kTypedDataUint8ClampedArrayCid, 0x001256b6) \
V(_Int16ArrayFactory, Int16List, ., kTypedDataInt16ArrayCid, 0x7c9690c9) \
V(_Uint16ArrayFactory, Uint16List, ., kTypedDataUint16ArrayCid, 0x6f2698c3) \
V(_Int32ArrayFactory, Int32List, ., kTypedDataInt32ArrayCid, 0x43b5bf2f) \
V(_Uint32ArrayFactory, Uint32List, ., kTypedDataUint32ArrayCid, 0x243ae083) \
V(_Int64ArrayFactory, Int64List, ., kTypedDataInt64ArrayCid, 0x3fb987a6) \
V(_Uint64ArrayFactory, Uint64List, ., kTypedDataUint64ArrayCid, 0x13ea5ce3) \
kTypedDataUint8ClampedArrayCid, 0x67f38395) \
V(_Int16ArrayFactory, Int16List, ., kTypedDataInt16ArrayCid, 0x6477bda8) \
V(_Uint16ArrayFactory, Uint16List, ., kTypedDataUint16ArrayCid, 0x5707c5a2) \
V(_Int32ArrayFactory, Int32List, ., kTypedDataInt32ArrayCid, 0x2b96ec0e) \
V(_Uint32ArrayFactory, Uint32List, ., kTypedDataUint32ArrayCid, 0x0c1c0d62) \
V(_Int64ArrayFactory, Int64List, ., kTypedDataInt64ArrayCid, 0x279ab485) \
V(_Uint64ArrayFactory, Uint64List, ., kTypedDataUint64ArrayCid, 0x7bcb89c2) \
V(_Float64ArrayFactory, Float64List, ., kTypedDataFloat64ArrayCid, \
0x37fd11d0) \
0x1fde3eaf) \
V(_Float32ArrayFactory, Float32List, ., kTypedDataFloat32ArrayCid, \
0x5b6f3f2a) \
0x43506c09) \
V(_Float32x4ArrayFactory, Float32x4List, ., kTypedDataFloat32x4ArrayCid, \
0x625f03f7)
0x4a4030d6)
// clang-format on

View file

@ -6264,7 +6264,7 @@ void Parser::ParseLibraryImportExport(const Object& tl_owner,
ReportError("library url expected");
}
bool is_deferred_import = false;
if (is_import && (IsSymbol(Symbols::Deferred()))) {
if (is_import && (CurrentToken() == Token::kDEFERRED)) {
is_deferred_import = true;
ConsumeToken();
CheckToken(Token::kAS, "'as' expected");
@ -6274,7 +6274,8 @@ void Parser::ParseLibraryImportExport(const Object& tl_owner,
if (is_import && (CurrentToken() == Token::kAS)) {
ConsumeToken();
prefix_pos = TokenPos();
prefix = ExpectIdentifier("prefix identifier expected")->raw();
prefix =
ExpectUserDefinedTypeIdentifier("prefix identifier expected")->raw();
}
Array& show_names = Array::Handle(Z);

View file

@ -277,8 +277,8 @@ TEST_CASE(Parser_AllocateVariables_CapturedVar) {
" 0 ContextLevel level=0 begin=0 end=6\n"
" 1 ContextLevel level=1 begin=8 end=16\n"
" 2 CurrentCtx scope=0 begin=0 end=0 name=:current_context_var\n"
" 3 ContextVar level=1 begin=10 end=37 name=value\n"
" 4 StackVar scope=2 begin=12 end=37 name=f\n",
" 3 ContextVar level=1 begin=10 end=38 name=value\n"
" 4 StackVar scope=2 begin=12 end=38 name=f\n",
vars);
free(vars);
}
@ -362,7 +362,7 @@ TEST_CASE(Parser_AllocateVariables_TwoChains) {
// bb captures only value2 from aa. No others.
"a.b.aa.bb\n"
" 0 ContextLevel level=0 begin=0 end=10\n"
" 1 ContextVar level=0 begin=34 end=44 name=value2\n"
" 1 ContextVar level=0 begin=35 end=46 name=value2\n"
" 2 CurrentCtx scope=0 begin=0 end=0"
" name=:current_context_var\n"
@ -380,8 +380,8 @@ TEST_CASE(Parser_AllocateVariables_TwoChains) {
" 0 ContextLevel level=0 begin=0 end=6\n"
" 1 ContextLevel level=1 begin=8 end=16\n"
" 2 CurrentCtx scope=0 begin=0 end=0 name=:current_context_var\n"
" 3 ContextVar level=1 begin=29 end=53 name=value2\n"
" 4 StackVar scope=2 begin=31 end=53 name=bb\n"
" 3 ContextVar level=1 begin=30 end=55 name=value2\n"
" 4 StackVar scope=2 begin=32 end=55 name=bb\n"
// Closure call saves current context.
"_Closure.call\n"
@ -393,10 +393,10 @@ TEST_CASE(Parser_AllocateVariables_TwoChains) {
// b captures value1 from a.
"a.b\n"
" 0 ContextLevel level=0 begin=0 end=16\n"
" 1 ContextVar level=0 begin=14 end=63 name=value1\n"
" 1 ContextVar level=0 begin=14 end=65 name=value1\n"
" 2 CurrentCtx scope=0 begin=0 end=0"
" name=:current_context_var\n"
" 3 StackVar scope=2 begin=18 end=63 name=aa\n"
" 3 StackVar scope=2 begin=18 end=65 name=aa\n"
// Closure call saves current context.
"_Closure.call\n"
@ -411,8 +411,8 @@ TEST_CASE(Parser_AllocateVariables_TwoChains) {
" 1 ContextLevel level=1 begin=8 end=16\n"
" 2 CurrentCtx scope=0 begin=0 end=0"
" name=:current_context_var\n"
" 3 ContextVar level=1 begin=10 end=71 name=value1\n"
" 4 StackVar scope=2 begin=12 end=71 name=b\n",
" 3 ContextVar level=1 begin=10 end=73 name=value1\n"
" 4 StackVar scope=2 begin=12 end=73 name=b\n",
vars);
free(vars);
}
@ -451,7 +451,7 @@ TEST_CASE(Parser_AllocateVariables_Issue7681) {
"doIt.<anonymous closure>\n"
" 0 ContextLevel level=0 begin=0 end=0\n"
" 1 ContextLevel level=1 begin=4 end=12\n"
" 2 ContextVar level=1 begin=42 end=65 name=y\n"
" 2 ContextVar level=1 begin=44 end=67 name=y\n"
" 3 CurrentCtx scope=0 begin=0 end=0 name=:current_context_var\n"
// Closure call saves current context.
@ -469,7 +469,7 @@ TEST_CASE(Parser_AllocateVariables_Issue7681) {
"doIt\n"
" 0 ContextLevel level=0 begin=0 end=18\n"
" 1 CurrentCtx scope=0 begin=0 end=0 name=:current_context_var\n"
" 2 StackVar scope=2 begin=35 end=80 name=x\n",
" 2 StackVar scope=2 begin=36 end=83 name=x\n",
vars);
free(vars);
}
@ -497,7 +497,7 @@ TEST_CASE(Parser_AllocateVariables_CaptureLoopVar) {
// inner function captures variable value. That's fine.
"outer.inner\n"
" 0 ContextLevel level=0 begin=0 end=10\n"
" 1 ContextVar level=0 begin=33 end=43 name=value\n"
" 1 ContextVar level=0 begin=34 end=44 name=value\n"
" 2 CurrentCtx scope=0 begin=0 end=0 name=:current_context_var\n"
// Closure call saves current context.
@ -513,9 +513,9 @@ TEST_CASE(Parser_AllocateVariables_CaptureLoopVar) {
" 1 ContextLevel level=1 begin=10 end=18\n"
" 2 ContextLevel level=0 begin=20 end=34\n"
" 3 CurrentCtx scope=0 begin=0 end=0 name=:current_context_var\n"
" 4 StackVar scope=3 begin=12 end=52 name=i\n"
" 5 ContextVar level=1 begin=28 end=52 name=value\n"
" 6 StackVar scope=4 begin=30 end=52 name=inner\n",
" 4 StackVar scope=3 begin=12 end=53 name=i\n"
" 5 ContextVar level=1 begin=29 end=53 name=value\n"
" 6 StackVar scope=4 begin=31 end=53 name=inner\n",
vars);
free(vars);
}
@ -543,7 +543,7 @@ TEST_CASE(Parser_AllocateVariables_MiddleChain) {
EXPECT_STREQ(
"a.b.c\n"
" 0 ContextLevel level=0 begin=0 end=12\n"
" 1 ContextVar level=0 begin=51 end=64 name=x\n"
" 1 ContextVar level=0 begin=52 end=65 name=x\n"
" 2 CurrentCtx scope=0 begin=0 end=0 name=:current_context_var\n"
"_Closure.call\n"
@ -556,11 +556,11 @@ TEST_CASE(Parser_AllocateVariables_MiddleChain) {
" 0 ContextLevel level=0 begin=0 end=6\n"
" 1 ContextLevel level=1 begin=8 end=32\n"
" 2 ContextLevel level=0 begin=34 end=40\n"
" 3 ContextVar level=0 begin=12 end=73 name=x\n"
" 3 ContextVar level=0 begin=12 end=74 name=x\n"
" 4 CurrentCtx scope=0 begin=0 end=0 name=:current_context_var\n"
" 5 StackVar scope=2 begin=48 end=73 name=c\n"
" 6 ContextVar level=1 begin=22 end=48 name=i\n"
" 7 StackVar scope=4 begin=33 end=48 name=d\n"
" 5 StackVar scope=2 begin=49 end=74 name=c\n"
" 6 ContextVar level=1 begin=23 end=49 name=i\n"
" 7 StackVar scope=4 begin=34 end=49 name=d\n"
"_Closure.call\n"
" 0 ContextLevel level=0 begin=0 end=8\n"
@ -571,8 +571,8 @@ TEST_CASE(Parser_AllocateVariables_MiddleChain) {
" 0 ContextLevel level=0 begin=0 end=6\n"
" 1 ContextLevel level=1 begin=8 end=16\n"
" 2 CurrentCtx scope=0 begin=0 end=0 name=:current_context_var\n"
" 3 ContextVar level=1 begin=9 end=81 name=x\n"
" 4 StackVar scope=2 begin=11 end=81 name=b\n",
" 3 ContextVar level=1 begin=9 end=82 name=x\n"
" 4 StackVar scope=2 begin=11 end=82 name=b\n",
vars);
free(vars);
}

View file

@ -106,7 +106,6 @@ class ObjectPointerVisitor;
V(_LibraryPrefix, "_LibraryPrefix") \
V(On, "on") \
V(Of, "of") \
V(Deferred, "deferred") \
V(Show, "show") \
V(Hide, "hide") \
V(Async, "async") \

View file

@ -156,6 +156,7 @@ namespace dart {
KW(kCONTINUE, "continue", 0, kKeyword) \
KW(kCOVARIANT, "covariant", 0, kPseudoKeyword) \
KW(kDEFAULT, "default", 0, kKeyword) \
KW(kDEFERRED, "deferred", 0, kPseudoKeyword) \
KW(kDO, "do", 0, kKeyword) \
KW(kELSE, "else", 0, kKeyword) \
KW(kENUM, "enum", 0, kKeyword) \

View file

@ -121,27 +121,6 @@ Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t05: Pass
[ ($runtime == vm || $runtime == dart_precompiled || $runtime == flutter) && $compiler != dartk && $compiler != dartkp ]
# co19 update Sep 29, 2015 (3ed795ea02e022ef19c77cf1b6095b7c8f5584d0)
Language/Expressions/Identifier_Reference/built_in_identifier_t35: MissingCompileTimeError # Issue 25732
Language/Expressions/Identifier_Reference/built_in_identifier_t36: MissingCompileTimeError # Issue 25732
Language/Expressions/Identifier_Reference/built_in_identifier_t37: MissingCompileTimeError # Issue 25732
Language/Expressions/Identifier_Reference/built_in_identifier_t53: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t54: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t55: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t56: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t57: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t58: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t59: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t60: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t61: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t62: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t63: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t64: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t65: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t66: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t67: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_identifier_t68: MissingCompileTimeError # Issue 25733
Language/Expressions/Identifier_Reference/built_in_not_dynamic_t14: MissingCompileTimeError # Issue 25732
Language/Expressions/Identifier_Reference/built_in_not_dynamic_t19: MissingCompileTimeError # Issue 25772
Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t01: MissingCompileTimeError # Issue 25496
Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t02: MissingCompileTimeError # Issue 25496
Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t01: MissingCompileTimeError # Issue 24332