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

Unified Diff: runtime/vm/intermediate_language.h

Issue 270743004: Refactor and improve code for pow. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 35919)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -89,7 +89,7 @@
V(::, cos, MathCos, 1282146521) \
V(::, min, MathMin, 1022567780) \
V(::, max, MathMax, 612058870) \
- V(::, _doublePow, MathDoublePow, 2125162289) \
+ V(::, _doublePow, MathDoublePow, 342259456) \
V(Float32x4, Float32x4., Float32x4Constructor, 1314950569) \
V(Float32x4, Float32x4.zero, Float32x4Zero, 1432281809) \
V(Float32x4, Float32x4.splat, Float32x4Splat, 1148280442) \
@@ -7440,10 +7440,11 @@
virtual bool MayThrow() const { return false; }
- private:
static const intptr_t kSavedSpTempIndex = 0;
static const intptr_t kObjectTempIndex = 1;
static const intptr_t kDoubleTempIndex = 2;
+
+ private:
virtual void RawSetInputAt(intptr_t i, Value* value) {
(*inputs_)[i] = value;
}

Powered by Google App Engine
This is Rietveld 408576698