Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 425b64d1ddb2bb849070ef83bee591f700fcd2da..a6ec9d923e8f8be15ba6761f7855ba0f8e97ca15 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1690,6 +1690,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
SimpleInstallFunction(math, "floor", Builtins::kMathFloor, 1, true); |
native_context()->set_math_floor(*math_floor); |
SimpleInstallFunction(math, "fround", Builtins::kMathFround, 1, true); |
+ SimpleInstallFunction(math, "hypot", Builtins::kMathHypot, 2, false); |
SimpleInstallFunction(math, "imul", Builtins::kMathImul, 2, true); |
Handle<JSFunction> math_log = |
SimpleInstallFunction(math, "log", Builtins::kMathLog, 1, true); |