Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 8d8465d61ffd84a0a18a129059a42d8f4e14ca58..3125c59de374704c970d18886efca4d3e253d873 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1631,6 +1631,9 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
native_context()->set_math_floor(*math_floor); |
SimpleInstallFunction(math, "fround", Builtins::kMathFround, 1, true); |
SimpleInstallFunction(math, "imul", Builtins::kMathImul, 2, true); |
+ Handle<JSFunction> math_log = |
+ SimpleInstallFunction(math, "log", Builtins::kMathLog, 1, true); |
+ native_context()->set_math_log(*math_log); |
SimpleInstallFunction(math, "max", Builtins::kMathMax, 2, false); |
SimpleInstallFunction(math, "min", Builtins::kMathMin, 2, false); |
SimpleInstallFunction(math, "round", Builtins::kMathRound, 1, true); |