| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 4e0647bf2a5a09408a14009d6a653b5a354364bc..ba940736dfff6e098afef099fb82b6aedbe4b75b 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1679,6 +1679,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| SimpleInstallFunction(math, "expm1", Builtins::kMathExpm1, 1, true);
|
| SimpleInstallFunction(math, "clz32", Builtins::kMathClz32, 1, true);
|
| SimpleInstallFunction(math, "cos", Builtins::kMathCos, 1, true);
|
| + SimpleInstallFunction(math, "cosh", Builtins::kMathCosh, 1, true);
|
| Handle<JSFunction> math_exp =
|
| SimpleInstallFunction(math, "exp", Builtins::kMathExp, 1, true);
|
| native_context()->set_math_exp(*math_exp);
|
| @@ -1700,10 +1701,12 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| native_context()->set_math_pow(*math_pow);
|
| SimpleInstallFunction(math, "round", Builtins::kMathRound, 1, true);
|
| SimpleInstallFunction(math, "sin", Builtins::kMathSin, 1, true);
|
| + SimpleInstallFunction(math, "sinh", Builtins::kMathSinh, 1, true);
|
| Handle<JSFunction> math_sqrt =
|
| SimpleInstallFunction(math, "sqrt", Builtins::kMathSqrt, 1, true);
|
| native_context()->set_math_sqrt(*math_sqrt);
|
| SimpleInstallFunction(math, "tan", Builtins::kMathTan, 1, true);
|
| + SimpleInstallFunction(math, "tanh", Builtins::kMathTanh, 1, true);
|
| SimpleInstallFunction(math, "trunc", Builtins::kMathTrunc, 1, true);
|
|
|
| // Install math constants.
|
| @@ -2613,13 +2616,6 @@ void Bootstrapper::ExportFromRuntime(Isolate* isolate,
|
| }
|
|
|
| {
|
| - // TODO(mvstanton): Remove this when MathSinh, MathCosh and MathTanh are
|
| - // no longer implemented in fdlibm.js.
|
| - SimpleInstallFunction(container, "MathExpm1", Builtins::kMathExpm1, 1,
|
| - true);
|
| - }
|
| -
|
| - {
|
| PrototypeIterator iter(native_context->sloppy_async_function_map());
|
| Handle<JSObject> async_function_prototype(iter.GetCurrent<JSObject>());
|
|
|
|
|