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

Unified Diff: runtime/vm/method_recognizer.h

Issue 1816193002: Revert "Add graph intrinsics for many math library functions" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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/intrinsifier.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 dd94e5fbb4a622f13b3de539419b018906ebd1c4..b17d91d8f11228ce765c3fbde0cd112fbcc2073b 100644
--- a/runtime/vm/method_recognizer.h
+++ b/runtime/vm/method_recognizer.h
@@ -52,6 +52,13 @@ namespace dart {
V(_Double, _sub, DoubleSub, 1086286468) \
V(_Double, _mul, DoubleMul, 166332351) \
V(_Double, _div, DoubleDiv, 821396195) \
+ V(::, sin, MathSin, 939048573) \
+ V(::, cos, MathCos, 1148850331) \
+ V(::, tan, MathTan, 179725235) \
+ V(::, asin, MathAsin, 848695059) \
+ V(::, acos, MathAcos, 337299516) \
+ V(::, atan, MathAtan, 866406810) \
+ V(::, atan2, MathAtan2, 1901969510) \
V(::, min, MathMin, 1115051548) \
V(::, max, MathMax, 1410473322) \
V(::, _doublePow, MathDoublePow, 562154128) \
@@ -236,14 +243,6 @@ namespace dart {
V(::, sqrt, MathSqrt, 1446681622) \
V(_Random, _nextState, Random_nextState, 1241583299) \
-#define GRAPH_MATH_LIB_INTRINSIC_LIST(V) \
- V(::, sin, MathSin, 939048573) \
- V(::, cos, MathCos, 1148850331) \
- V(::, tan, MathTan, 179725235) \
- V(::, asin, MathAsin, 848695059) \
- V(::, acos, MathAcos, 337299516) \
- V(::, atan, MathAtan, 866406810) \
- V(::, atan2, MathAtan2, 1901969510) \
#define TYPED_DATA_LIB_INTRINSIC_LIST(V) \
V(Int8List, ., TypedData_Int8Array_factory, 779569635) \
@@ -296,7 +295,6 @@ namespace dart {
#define GRAPH_INTRINSICS_LIST(V) \
GRAPH_CORE_INTRINSICS_LIST(V) \
GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \
- GRAPH_MATH_LIB_INTRINSIC_LIST(V) \
#define DEVELOPER_LIB_INTRINSIC_LIST(V) \
V(_UserTag, makeCurrent, UserTag_makeCurrent, 187721469) \
« no previous file with comments | « runtime/vm/intrinsifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698