| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 8eeae17aa5004e8861f410207256adf4e1461b4e..db4a157623df5214b7ea5028cbef0981a7bc517d 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1523,6 +1523,9 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| SimpleInstallFunction(math, "imul", Builtins::kMathImul, 2, true);
|
| SimpleInstallFunction(math, "max", Builtins::kMathMax, 2, false);
|
| SimpleInstallFunction(math, "min", Builtins::kMathMin, 2, false);
|
| + Handle<JSFunction> math_sqrt =
|
| + SimpleInstallFunction(math, "sqrt", Builtins::kMathSqrt, 1, true);
|
| + native_context()->set_math_sqrt(*math_sqrt);
|
| }
|
|
|
| { // -- A r r a y B u f f e r
|
|
|