Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 0be96ea46c5e6a8cab680bb321b842dfdab3bcd5..ec7c1bc4bbaba5d272aff14cf7ddfdff44b4c821 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1695,6 +1695,9 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
SimpleInstallFunction(math, "log10", Builtins::kMathLog10, 1, true); |
SimpleInstallFunction(math, "max", Builtins::kMathMax, 2, false); |
SimpleInstallFunction(math, "min", Builtins::kMathMin, 2, false); |
+ Handle<JSFunction> math_pow = |
+ SimpleInstallFunction(math, "pow", Builtins::kMathPow, 2, true); |
+ native_context()->set_math_pow(*math_pow); |
SimpleInstallFunction(math, "round", Builtins::kMathRound, 1, true); |
SimpleInstallFunction(math, "sin", Builtins::kMathSin, 1, true); |
Handle<JSFunction> math_sqrt = |