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

Unified Diff: src/runtime.cc

Issue 104003002: Revert "Implement hyperbolic math functions for ES6." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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 | « src/runtime.h ('k') | test/mjsunit/harmony/math-hyperbolic.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 28e2ad420633073871a651059dd68589582ab35e..7dc96f201970eec90466b79f20fa2823271fe737 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -7788,21 +7788,6 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_Math_pow_cfunction) {
}
-#define HYPERBOLIC_MATH_FUNCTION(name) \
-RUNTIME_FUNCTION(MaybeObject*, Runtime_Math_##name) { \
- SealHandleScope shs(isolate); \
- ASSERT(args.length() == 1); \
- CONVERT_DOUBLE_ARG_CHECKED(x, 0); \
- return isolate->heap()->AllocateHeapNumber(name(x)); \
-}
-
-HYPERBOLIC_MATH_FUNCTION(asinh)
-HYPERBOLIC_MATH_FUNCTION(acosh)
-HYPERBOLIC_MATH_FUNCTION(atanh)
-
-#undef HYPERBOLIC_MATH_FUNCTION
-
-
RUNTIME_FUNCTION(MaybeObject*, Runtime_RoundNumber) {
SealHandleScope shs(isolate);
ASSERT(args.length() == 1);
« no previous file with comments | « src/runtime.h ('k') | test/mjsunit/harmony/math-hyperbolic.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698