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

Unified Diff: src/objects.h

Issue 2102223005: [builtins] Migrate Math.hypot() to C++ builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@MathAbs
Patch Set: Fix behavior of early return on INFINITY Created 4 years, 6 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 | « src/js/math.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 6798b82cf9436b2757e62cad35c0d1e8d0e0c2c6..7b33af9febea66f16461970bfa31bd9265ac7378 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6737,7 +6737,8 @@ class Script: public Struct {
V(Math, imul, MathImul) \
V(Math, clz32, MathClz32) \
V(Math, fround, MathFround) \
- V(Math, trunc, MathTrunc)
+ V(Math, trunc, MathTrunc) \
+ V(Math, hypot, MathHypot)
Benedikt Meurer 2016/07/01 03:41:20 You don't need to add it here. This is only used t
#define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
V(Atomics, load, AtomicsLoad) \
« no previous file with comments | « src/js/math.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698