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

Unified Diff: runtime/vm/method_recognizer.h

Issue 562333004: Recognize Bigint setters and getters. This code will be removed when/if we change the fields to be … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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/intrinsifier_x64.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 40205)
+++ runtime/vm/method_recognizer.h (working copy)
@@ -142,17 +142,17 @@
V(_Int32x4Array, []=, Int32x4ArraySetIndexed, 1021474038) \
V(_Float64x2Array, [], Float64x2ArrayGetIndexed, 288114492) \
V(_Float64x2Array, []=, Float64x2ArraySetIndexed, 941746736) \
+ V(_Bigint, get:_neg, Bigint_getNeg, 1151514099) \
+ V(_Bigint, get:_used, Bigint_getUsed, 1308529543) \
+ V(_Bigint, get:_digits, Bigint_getDigits, 1408062672) \
// List of intrinsics:
// (class-name, function-name, intrinsification method, fingerprint).
#define CORE_LIB_INTRINSIC_LIST(V) \
V(_Smi, ~, Smi_bitNegate, 105519892) \
V(_Smi, get:bitLength, Smi_bitLength, 869956497) \
- V(_Bigint, get:_neg, Bigint_getNeg, 1151514099) \
V(_Bigint, set:_neg, Bigint_setNeg, 920204960) \
- V(_Bigint, get:_used, Bigint_getUsed, 1308529543) \
V(_Bigint, set:_used, Bigint_setUsed, 1857576743) \
- V(_Bigint, get:_digits, Bigint_getDigits, 1408062672) \
V(_Bigint, set:_digits, Bigint_setDigits, 1633805112) \
V(_Double, >, Double_greaterThan, 381325711) \
V(_Double, >=, Double_greaterEqualThan, 1409267140) \
@@ -360,7 +360,10 @@
V(::, sin, MathSin, 1741396147) \
V(::, sqrt, MathSqrt, 101545548) \
V(::, tan, MathTan, 982072809) \
- V(Lists, copy, ListsCopy, 902244797)
+ V(Lists, copy, ListsCopy, 902244797) \
+ V(_Bigint, get:_neg, Bigint_getNeg, 1151514099) \
+ V(_Bigint, get:_used, Bigint_getUsed, 1308529543) \
+ V(_Bigint, get:_digits, Bigint_getDigits, 1408062672) \
// A list of core functions that internally dispatch based on received id.
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698