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

Unified Diff: runtime/vm/method_recognizer.h

Issue 484693003: Improve polymorphic inlining of int/int double/double operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased and addressed comments Created 6 years, 4 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.cc ('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/method_recognizer.h
===================================================================
--- runtime/vm/method_recognizer.h (revision 39445)
+++ runtime/vm/method_recognizer.h (working copy)
@@ -42,11 +42,16 @@
V(_IntegerImplementation, toDouble, IntegerToDouble, 1084977108) \
V(_IntegerImplementation, _leftShiftWithMask32, IntegerLeftShiftWithMask32, \
597111055) \
+ V(_Double, .fromInteger, DoubleFromInteger, 999771940) \
V(_Double, truncateToDouble, DoubleTruncate, 2117801967) \
V(_Double, roundToDouble, DoubleRound, 2124216110) \
V(_Double, floorToDouble, DoubleFloor, 968600699) \
V(_Double, ceilToDouble, DoubleCeil, 1779929274) \
V(_Double, _modulo, DoubleMod, 1473971007) \
+ V(_Double, _add, DoubleAdd, 1570715125) \
+ V(_Double, _sub, DoubleSub, 1466395310) \
+ V(_Double, _mul, DoubleMul, 546441193) \
+ V(_Double, _div, DoubleDiv, 1201505037) \
V(::, sin, MathSin, 1741396147) \
V(::, cos, MathCos, 1951197905) \
V(::, min, MathMin, 1022567780) \
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698