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

Unified Diff: runtime/vm/intrinsifier.h

Issue 17103002: Remove support for + prefix in number literals (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/object.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 24043)
+++ runtime/vm/intrinsifier.h (working copy)
@@ -17,18 +17,18 @@
// build and run to get the correct fingerprint from the mismatch error.
#define CORE_LIB_INTRINSIC_LIST(V) \
V(_Smi, ~, Smi_bitNegate, 882629793) \
- V(_Double, >, Double_greaterThan, 301935359) \
- V(_Double, >=, Double_greaterEqualThan, 1184528952) \
- V(_Double, <, Double_lessThan, 1596251333) \
- V(_Double, <=, Double_lessEqualThan, 1184499161) \
- V(_Double, ==, Double_equal, 1706047712) \
- V(_Double, +, Double_add, 210576655) \
- V(_Double, -, Double_sub, 1605354741) \
- V(_Double, *, Double_mul, 788270837) \
- V(_Double, /, Double_div, 1202831412) \
+ V(_Double, >, Double_greaterThan, 498448864) \
+ V(_Double, >=, Double_greaterEqualThan, 1322959863) \
+ V(_Double, <, Double_lessThan, 1595326820) \
+ V(_Double, <=, Double_lessEqualThan, 1322930072) \
+ V(_Double, ==, Double_equal, 1012968674) \
+ 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, 704314034) \
+ V(_Double, _mulFromInteger, Double_mulFromInteger, 550294258) \
V(_Double, .fromInteger, Double_fromInteger, 842078193) \
V(_ObjectArray, ., ObjectArray_Allocate, 97987288) \
V(_ObjectArray, get:length, Array_getLength, 405297088) \
@@ -41,12 +41,12 @@
V(_GrowableObjectArray, []=, GrowableArray_setIndexed, 1048007636) \
V(_GrowableObjectArray, _setLength, GrowableArray_setLength, 796709584) \
V(_GrowableObjectArray, _setData, GrowableArray_setData, 629110947) \
- V(_GrowableObjectArray, add, GrowableArray_add, 1904852879) \
+ V(_GrowableObjectArray, add, GrowableArray_add, 112207566) \
V(_ImmutableArray, [], ImmutableArray_getIndexed, 486821199) \
V(_ImmutableArray, get:length, ImmutableArray_getLength, 433698233) \
- V(Object, ==, Object_equal, 2126897013) \
+ V(Object, ==, Object_equal, 2126867222) \
V(_StringBase, get:hashCode, String_getHashCode, 320803993) \
- V(_StringBase, get:isEmpty, String_getIsEmpty, 1026765313) \
+ V(_StringBase, get:isEmpty, String_getIsEmpty, 110631520) \
V(_StringBase, get:length, String_getLength, 320803993) \
V(_StringBase, codeUnitAt, String_codeUnitAt, 984449525) \
V(_OneByteString, get:hashCode, OneByteString_getHashCode, 682660413) \
@@ -57,35 +57,35 @@
#define CORE_INTEGER_LIB_INTRINSIC_LIST(V) \
V(_IntegerImplementation, _addFromInteger, Integer_addFromInteger, 726019207)\
- V(_IntegerImplementation, +, Integer_add, 1768648592) \
+ V(_IntegerImplementation, +, Integer_add, 25837296) \
V(_IntegerImplementation, _subFromInteger, Integer_subFromInteger, 726019207)\
- V(_IntegerImplementation, -, Integer_sub, 1292467582) \
+ V(_IntegerImplementation, -, Integer_sub, 1697139934) \
V(_IntegerImplementation, _mulFromInteger, Integer_mulFromInteger, 726019207)\
- V(_IntegerImplementation, *, Integer_mul, 1853182047) \
- V(_IntegerImplementation, %, Integer_modulo, 1211518976) \
- V(_IntegerImplementation, remainder, Integer_remainder, 1131753683) \
- V(_IntegerImplementation, ~/, Integer_truncDivide, 142750059) \
- V(_IntegerImplementation, unary-, Integer_negate, 676633254) \
+ V(_IntegerImplementation, *, Integer_mul, 110370751) \
+ V(_IntegerImplementation, %, Integer_modulo, 980686435) \
+ V(_IntegerImplementation, remainder, Integer_remainder, 1536426035) \
+ V(_IntegerImplementation, ~/, Integer_truncDivide, 2059401166) \
+ V(_IntegerImplementation, unary-, Integer_negate, 675709702) \
V(_IntegerImplementation, _bitAndFromInteger, \
Integer_bitAndFromInteger, 726019207) \
- V(_IntegerImplementation, &, Integer_bitAnd, 354347153) \
+ V(_IntegerImplementation, &, Integer_bitAnd, 759019505) \
V(_IntegerImplementation, _bitOrFromInteger, \
Integer_bitOrFromInteger, 726019207) \
- V(_IntegerImplementation, |, Integer_bitOr, 875694946) \
+ V(_IntegerImplementation, |, Integer_bitOr, 1280367298) \
V(_IntegerImplementation, _bitXorFromInteger, \
Integer_bitXorFromInteger, 726019207) \
- V(_IntegerImplementation, ^, Integer_bitXor, 282155459) \
+ V(_IntegerImplementation, ^, Integer_bitXor, 686827811) \
V(_IntegerImplementation, \
_greaterThanFromInteger, \
Integer_greaterThanFromInt, 79222670) \
- V(_IntegerImplementation, >, Integer_greaterThan, 462314913) \
- V(_IntegerImplementation, ==, Integer_equal, 1424765465) \
+ V(_IntegerImplementation, >, Integer_greaterThan, 866987265) \
+ V(_IntegerImplementation, ==, Integer_equal, 1763184121) \
V(_IntegerImplementation, _equalToInteger, Integer_equalToInteger, 79222670) \
- V(_IntegerImplementation, <, Integer_lessThan, 1424838471) \
- V(_IntegerImplementation, <=, Integer_lessEqualThan, 949016155) \
- V(_IntegerImplementation, >=, Integer_greaterEqualThan, 949045946) \
- V(_IntegerImplementation, <<, Integer_shl, 1195917829) \
- V(_IntegerImplementation, >>, Integer_sar, 1980227743) \
+ V(_IntegerImplementation, <, Integer_lessThan, 1423913958) \
+ V(_IntegerImplementation, <=, Integer_lessEqualThan, 1087447066) \
+ V(_IntegerImplementation, >=, Integer_greaterEqualThan, 1087476857) \
+ V(_IntegerImplementation, <<, Integer_shl, 1600590181) \
+ V(_IntegerImplementation, >>, Integer_sar, 237416447) \
V(_Double, toInt, Double_toInt, 362666636)
@@ -93,7 +93,7 @@
V(::, sqrt, Math_sqrt, 1662640002) \
V(::, sin, Math_sin, 1273932041) \
V(::, cos, Math_cos, 1749547468) \
- V(_Random, _nextState, Random_nextState, 77315414) \
+ V(_Random, _nextState, Random_nextState, 287494804) \
#define TYPED_DATA_LIB_INTRINSIC_LIST(V) \
@@ -110,18 +110,18 @@
V(_Float32Array, _new, TypedData_Float32Array_new, 723829075) \
V(_Float64Array, _new, TypedData_Float64Array_new, 111654177) \
V(_Float32x4Array, _new, TypedData_Float32x4Array_new, 984763738) \
- V(_Int8Array, ., TypedData_Int8Array_factory, 1168404493) \
- V(_Uint8Array, ., TypedData_Uint8Array_factory, 2094565809) \
- V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1449285088) \
- V(_Int16Array, ., TypedData_Int16Array_factory, 1430476167) \
- V(_Uint16Array, ., TypedData_Uint16Array_factory, 996241892) \
- V(_Int32Array, ., TypedData_Int32Array_factory, 360797715) \
- V(_Uint32Array, ., TypedData_Uint32Array_factory, 995053409) \
- V(_Int64Array, ., TypedData_Int64Array_factory, 570248142) \
- V(_Uint64Array, ., TypedData_Uint64Array_factory, 1114332856) \
- V(_Float32Array, ., TypedData_Float32Array_factory, 1719636031) \
- V(_Float64Array, ., TypedData_Float64Array_factory, 1896334311) \
- V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 1768466392) \
+ V(_Int8Array, ., TypedData_Int8Array_factory, 1139775342) \
+ V(_Uint8Array, ., TypedData_Uint8Array_factory, 2065936658) \
+ V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1420655937) \
+ V(_Int16Array, ., TypedData_Int16Array_factory, 1401847016) \
+ V(_Uint16Array, ., TypedData_Uint16Array_factory, 967612741) \
+ V(_Int32Array, ., TypedData_Int32Array_factory, 332168564) \
+ V(_Uint32Array, ., TypedData_Uint32Array_factory, 966424258) \
+ V(_Int64Array, ., TypedData_Int64Array_factory, 541618991) \
+ V(_Uint64Array, ., TypedData_Uint64Array_factory, 1085703705) \
+ V(_Float32Array, ., TypedData_Float32Array_factory, 1691006880) \
+ V(_Float64Array, ., TypedData_Float64Array_factory, 1867705160) \
+ V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 1739837241) \
// TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and
// _FixedSizeArrayIterator, moveNext.
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698