| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 67fe134569e9422bc043ba033ed5a4555fda8a5d..86bf8fda74568004c12072f93973f12c55e28306 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1674,7 +1674,10 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| SimpleInstallFunction(math, "asin", Builtins::kMathAsin, 1, true);
|
| SimpleInstallFunction(math, "atan", Builtins::kMathAtan, 1, true);
|
| SimpleInstallFunction(math, "atan2", Builtins::kMathAtan2, 2, true);
|
| + SimpleInstallFunction(math, "atanh", Builtins::kMathAtanh, 1, true);
|
| SimpleInstallFunction(math, "ceil", Builtins::kMathCeil, 1, true);
|
| + SimpleInstallFunction(math, "cbrt", Builtins::kMathCbrt, 1, true);
|
| + SimpleInstallFunction(math, "expm1", Builtins::kMathExpm1, 1, true);
|
| SimpleInstallFunction(math, "clz32", Builtins::kMathClz32, 1, true);
|
| Handle<JSFunction> math_exp =
|
| SimpleInstallFunction(math, "exp", Builtins::kMathExp, 1, true);
|
| @@ -2585,6 +2588,13 @@ 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>());
|
|
|
|
|