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

Unified Diff: runtime/vm/intrinsifier.h

Issue 12880023: Remove legacy syntax support for library import (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier.h
===================================================================
--- runtime/vm/intrinsifier.h (revision 20447)
+++ runtime/vm/intrinsifier.h (working copy)
@@ -17,47 +17,47 @@
// build and run to get the correct fingerprint from the mismatch error.
#define CORE_LIB_INTRINSIC_LIST(V) \
V(_IntegerImplementation, _addFromInteger, Integer_addFromInteger, 726019207)\
- V(_IntegerImplementation, +, Integer_add, 959303888) \
+ V(_IntegerImplementation, +, Integer_add, 25837296) \
V(_IntegerImplementation, _subFromInteger, Integer_subFromInteger, 726019207)\
- V(_IntegerImplementation, -, Integer_sub, 483122878) \
+ V(_IntegerImplementation, -, Integer_sub, 1697139934) \
V(_IntegerImplementation, _mulFromInteger, Integer_mulFromInteger, 726019207)\
- V(_IntegerImplementation, *, Integer_mul, 1043837343) \
- V(_IntegerImplementation, %, Integer_modulo, 2027609817) \
- V(_IntegerImplementation, ~/, Integer_truncDivide, 958840900) \
- V(_IntegerImplementation, unary-, Integer_negate, 678480358) \
+ V(_IntegerImplementation, *, Integer_mul, 110370751) \
+ V(_IntegerImplementation, %, Integer_modulo, 108639519) \
+ V(_IntegerImplementation, ~/, Integer_truncDivide, 1187354250) \
+ V(_IntegerImplementation, unary-, Integer_negate, 675709702) \
V(_IntegerImplementation, _bitAndFromInteger, \
Integer_bitAndFromInteger, 726019207) \
- V(_IntegerImplementation, &, Integer_bitAnd, 1692486097) \
+ V(_IntegerImplementation, &, Integer_bitAnd, 759019505) \
V(_IntegerImplementation, _bitOrFromInteger, \
Integer_bitOrFromInteger, 726019207) \
- V(_IntegerImplementation, |, Integer_bitOr, 66350242) \
+ V(_IntegerImplementation, |, Integer_bitOr, 1280367298) \
V(_IntegerImplementation, _bitXorFromInteger, \
Integer_bitXorFromInteger, 726019207) \
- V(_IntegerImplementation, ^, Integer_bitXor, 1620294403) \
+ V(_IntegerImplementation, ^, Integer_bitXor, 686827811) \
V(_IntegerImplementation, \
_greaterThanFromInteger, \
Integer_greaterThanFromInt, 79222670) \
- V(_IntegerImplementation, >, Integer_greaterThan, 1800453857) \
- V(_IntegerImplementation, ==, Integer_equal, 1540405784) \
+ V(_IntegerImplementation, >, Integer_greaterThan, 866987265) \
+ V(_IntegerImplementation, ==, Integer_equal, 408178104) \
V(_IntegerImplementation, _equalToInteger, Integer_equalToInteger, 79222670) \
- V(_IntegerImplementation, <, Integer_lessThan, 1426685575) \
- V(_IntegerImplementation, <=, Integer_lessEqualThan, 1065121761) \
- V(_IntegerImplementation, >=, Integer_greaterEqualThan, 1065151552) \
- V(_IntegerImplementation, <<, Integer_shl, 386573125) \
- V(_IntegerImplementation, >>, Integer_sar, 1170883039) \
+ V(_IntegerImplementation, <, Integer_lessThan, 1423914919) \
+ V(_IntegerImplementation, <=, Integer_lessEqualThan, 890963352) \
+ V(_IntegerImplementation, >=, Integer_greaterEqualThan, 890993143) \
+ V(_IntegerImplementation, <<, Integer_shl, 1600590181) \
+ V(_IntegerImplementation, >>, Integer_sar, 237416447) \
V(_Smi, ~, Smi_bitNegate, 882629793) \
- V(_Double, >, Double_greaterThan, 2056391997) \
- V(_Double, >=, Double_greaterEqualThan, 1300634558) \
- V(_Double, <, Double_lessThan, 1598098437) \
- V(_Double, <=, Double_lessEqualThan, 1300604767) \
- V(_Double, ==, Double_equal, 1206706717) \
- V(_Double, +, Double_add, 1965033293) \
- V(_Double, -, Double_sub, 1212327731) \
- V(_Double, *, Double_mul, 395243827) \
- V(_Double, /, Double_div, 809804402) \
+ V(_Double, >, Double_greaterThan, 498448864) \
+ V(_Double, >=, Double_greaterEqualThan, 1126476149) \
+ V(_Double, <, Double_lessThan, 1595327781) \
+ V(_Double, <=, Double_lessEqualThan, 1126446358) \
+ V(_Double, ==, Double_equal, 48480576) \
+ V(_Double, +, Double_add, 407090160) \
+ V(_Double, -, Double_sub, 1801868246) \
+ V(_Double, *, Double_mul, 984784342) \
+ V(_Double, /, Double_div, 1399344917) \
V(_Double, get:isNaN, Double_getIsNaN, 54462366) \
V(_Double, get:isNegative, Double_getIsNegative, 54462366) \
- V(_Double, _mulFromInteger, Double_mulFromInteger, 815838159) \
+ V(_Double, _mulFromInteger, Double_mulFromInteger, 353781714) \
V(_Double, .fromInteger, Double_fromInteger, 842078193) \
V(_Double, toInt, Double_toInt, 362666636) \
V(_ObjectArray, ., ObjectArray_Allocate, 97987288) \
@@ -71,12 +71,12 @@
V(_GrowableObjectArray, []=, GrowableArray_setIndexed, 1048007636) \
V(_GrowableObjectArray, _setLength, GrowableArray_setLength, 796709584) \
V(_GrowableObjectArray, _setData, GrowableArray_setData, 629110947) \
- V(_GrowableObjectArray, add, GrowableArray_add, 1367698386) \
+ V(_GrowableObjectArray, add, GrowableArray_add, 2139340847) \
V(_ImmutableArray, [], ImmutableArray_getIndexed, 486821199) \
V(_ImmutableArray, get:length, ImmutableArray_getLength, 433698233) \
- V(Object, ==, Object_equal, 2126956595) \
+ V(Object, ==, Object_equal, 2126867222) \
V(_StringBase, get:hashCode, String_getHashCode, 320803993) \
- V(_StringBase, get:isEmpty, String_getIsEmpty, 711547329) \
+ V(_StringBase, get:isEmpty, String_getIsEmpty, 110632481) \
V(_StringBase, get:length, String_getLength, 320803993) \
V(_StringBase, codeUnitAt, String_codeUnitAt, 984449525) \
V(_OneByteString, get:hashCode, OneByteString_getHashCode, 682660413) \
@@ -91,9 +91,9 @@
// Note that any intrinsified function is not inlined. Some optimizations
// rely on seeing the factories below instead of their inlined code.
#define SCALARLIST_LIB_INTRINSIC_LIST(V) \
- V(_ByteArrayBase, get:length, ByteArrayBase_getLength, 1098081765) \
- V(_Int64Array, [], Int64Array_getIndexed, 504894128) \
- V(_Uint64Array, [], Uint64Array_getIndexed, 31272531) \
+ V(_ByteArrayBase, get:length, ByteArrayBase_getLength, 1095311202) \
+ V(_Int64Array, [], Int64Array_getIndexed, 419006675) \
+ V(_Uint64Array, [], Uint64Array_getIndexed, 2092868726) \
V(_Int8Array, _new, Int8Array_new, 535958453) \
V(_Uint8Array, _new, Uint8Array_new, 604355565) \
V(_Uint8ClampedArray, _new, Uint8ClampedArray_new, 1070949952) \
@@ -105,17 +105,17 @@
V(_Uint64Array, _new, Uint64Array_new, 624354107) \
V(_Float32Array, _new, Float32Array_new, 109944959) \
V(_Float64Array, _new, Float64Array_new, 147668392) \
- V(Int8List, ., Int8Array_factory, 817410959) \
- V(Uint8List, ., Uint8Array_factory, 220896178) \
- V(Uint8ClampedList, ., Uint8ClampedArray_factory, 422034060) \
- V(Int16List, ., Int16Array_factory, 214246025) \
- V(Uint16List, ., Uint16Array_factory, 137929963) \
- V(Int32List, ., Int32Array_factory, 1977571010) \
- V(Uint32List, ., Uint32Array_factory, 407638944) \
- V(Int64List, ., Int64Array_factory, 885130273) \
- V(Uint64List, ., Uint64Array_factory, 1471017221) \
- V(Float32List, ., Float32Array_factory, 2035252095) \
- V(Float64List, ., Float64Array_factory, 1037441059) \
+ V(Int8List, ., Int8Array_factory, 216496111) \
+ V(Uint8List, ., Uint8Array_factory, 1767464978) \
+ V(Uint8ClampedList, ., Uint8ClampedArray_factory, 1968602860) \
+ V(Int16List, ., Int16Array_factory, 1760814825) \
+ V(Uint16List, ., Uint16Array_factory, 1684498763) \
+ V(Int32List, ., Int32Array_factory, 1376656162) \
+ V(Uint32List, ., Uint32Array_factory, 1954207744) \
+ V(Int64List, ., Int64Array_factory, 284215425) \
+ V(Uint64List, ., Uint64Array_factory, 870102373) \
+ V(Float32List, ., Float32Array_factory, 1434337247) \
+ V(Float64List, ., Float64Array_factory, 436526211) \
#define TYPEDDATA_LIB_INTRINSIC_LIST(V) \
V(_TypedList, get:length, TypedData_getLength, 231908172) \
@@ -130,17 +130,17 @@
V(_Uint64Array, _new, TypedData_Uint64Array_new, 977566635) \
V(_Float32Array, _new, TypedData_Float32Array_new, 1053133615) \
V(_Float64Array, _new, TypedData_Float64Array_new, 936673303) \
- V(_Int8Array, ., TypedData_Int8Array_factory, 1852699666) \
- V(_Uint8Array, ., TypedData_Uint8Array_factory, 1014667000) \
- V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 519376744) \
- V(_Int16Array, ., TypedData_Int16Array_factory, 1069515268) \
- V(_Uint16Array, ., TypedData_Uint16Array_factory, 1892182763) \
- V(_Int32Array, ., TypedData_Int32Array_factory, 1724127394) \
- V(_Uint32Array, ., TypedData_Uint32Array_factory, 1251657079) \
- V(_Int64Array, ., TypedData_Int64Array_factory, 1922050636) \
- V(_Uint64Array, ., TypedData_Uint64Array_factory, 1279581075) \
- V(_Float32Array, ., TypedData_Float32Array_factory, 112704438) \
- V(_Float64Array, ., TypedData_Float64Array_factory, 41426340) \
+ V(_Int8Array, ., TypedData_Int8Array_factory, 632939448) \
+ V(_Uint8Array, ., TypedData_Uint8Array_factory, 1942390430) \
+ V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1447100174) \
+ V(_Int16Array, ., TypedData_Int16Array_factory, 1997238698) \
+ V(_Uint16Array, ., TypedData_Uint16Array_factory, 672422545) \
+ V(_Int32Array, ., TypedData_Int32Array_factory, 504367176) \
+ V(_Uint32Array, ., TypedData_Uint32Array_factory, 31896861) \
+ V(_Int64Array, ., TypedData_Int64Array_factory, 702290418) \
+ V(_Uint64Array, ., TypedData_Uint64Array_factory, 59820857) \
+ V(_Float32Array, ., TypedData_Float32Array_factory, 1040427868) \
+ V(_Float64Array, ., TypedData_Float64Array_factory, 969149770) \
// TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and
// _FixedSizeArrayIterator, moveNext.
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698