Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 74bc80ca0534254b47bcaecdebf96bd86c022645..80f7b6d4acfc10a1702bb78e8cb30e18b23d2418 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1682,6 +1682,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
Handle<JSFunction> math_log = |
SimpleInstallFunction(math, "log", Builtins::kMathLog, 1, true); |
native_context()->set_math_log(*math_log); |
+ SimpleInstallFunction(math, "log1p", Builtins::kMathLog1p, 1, true); |
SimpleInstallFunction(math, "max", Builtins::kMathMax, 2, false); |
SimpleInstallFunction(math, "min", Builtins::kMathMin, 2, false); |
SimpleInstallFunction(math, "round", Builtins::kMathRound, 1, true); |