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

Unified Diff: runtime/vm/method_recognizer.h

Issue 1824023002: VM: Fix a couple of issues in the AOT optimizer, add fast path smi multiply. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: updated inlining of numeric operators Created 4 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_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
diff --git a/runtime/vm/method_recognizer.h b/runtime/vm/method_recognizer.h
index f4d6b068d50beca0a224cbaf5a9eb7342bf16fff..df4a387407c4aa5c4fbcb3b3f0606b1d3843c3f0 100644
--- a/runtime/vm/method_recognizer.h
+++ b/runtime/vm/method_recognizer.h
@@ -423,6 +423,30 @@ namespace dart {
V(_Bigint, _sqrAdd, Bigint_sqrAdd, 372896038) \
V(_Bigint, _estQuotientDigit, Bigint_estQuotientDigit, 540033329) \
V(_Montgomery, _mulMod, Montgomery_mulMod, 118781828) \
+ V(_Double, >, Double_greaterThan, 1413076759) \
+ V(_Double, >=, Double_greaterEqualThan, 1815180096) \
+ V(_Double, <, Double_lessThan, 652059836) \
+ V(_Double, <=, Double_lessEqualThan, 512138528) \
+ V(_Double, ==, Double_equal, 752327620) \
+ V(_Double, +, Double_add, 854024064) \
+ V(_Double, -, Double_sub, 685132889) \
+ V(_Double, *, Double_mul, 542254390) \
+ V(_Double, /, Double_div, 1145710768) \
+ V(_IntegerImplementation, +, Integer_add, 364498398) \
+ V(_IntegerImplementation, -, Integer_sub, 1682674911) \
+ V(_IntegerImplementation, *, Integer_mul, 1651115456) \
+ V(_IntegerImplementation, ~/, Integer_truncDivide, 108494012) \
+ V(_IntegerImplementation, unary-, Integer_negate, 1507648892) \
+ V(_IntegerImplementation, &, Integer_bitAnd, 286231290) \
+ V(_IntegerImplementation, |, Integer_bitOr, 1111108792) \
+ V(_IntegerImplementation, ^, Integer_bitXor, 1884808537) \
+ V(_IntegerImplementation, >, Integer_greaterThan, 293890061) \
+ V(_IntegerImplementation, ==, Integer_equal, 4489308) \
+ V(_IntegerImplementation, <, Integer_lessThan, 652059836) \
+ V(_IntegerImplementation, <=, Integer_lessEqualThan, 512138528) \
+ V(_IntegerImplementation, >=, Integer_greaterEqualThan, 1815180096) \
+ V(_IntegerImplementation, <<, Integer_shl, 293751452) \
+ V(_IntegerImplementation, >>, Integer_sar, 125091101) \
// A list of core functions that internally dispatch based on received id.
#define POLYMORPHIC_TARGET_LIST(V) \
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698