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

Unified Diff: runtime/vm/intermediate_language.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: 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
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 39328)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -82,11 +82,16 @@
V(_IntegerImplementation, _leftShiftWithMask32, IntegerLeftShiftWithMask32, \
597111055) \
V(_Double, toInt, DoubleToInteger, 1547535151) \
+ 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(::, sqrt, MathSqrt, 101545548) \
V(::, sin, MathSin, 1741396147) \
V(::, cos, MathCos, 1951197905) \
@@ -192,7 +197,6 @@
V(_Float64x2Array, [], Float64x2ArrayGetIndexed, 288114492) \
V(_Float64x2Array, []=, Float64x2ArraySetIndexed, 941746736) \
-
// A list of core function that should always be inlined.
#define INLINE_WHITE_LIST(V) \
V(Object, ==, ObjectEquals, 1068471689) \

Powered by Google App Engine
This is Rietveld 408576698