Bug 1499010: Mark ecmaPow to allow calling from recovery code r=tcampbell

Differential Revision: https://phabricator.services.mozilla.com/D8714

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Iain Ireland 2018-10-15 13:31:34 +00:00
parent e819892ec7
commit 8e9e5f75ac

View File

@ -572,7 +572,7 @@ js::powi(double x, int32_t y)
double
js::ecmaPow(double x, double y)
{
AutoUnsafeCallWithABI unsafe;
AutoUnsafeCallWithABI unsafe(UnsafeABIStrictness::AllowPendingExceptions);
/*
* Use powi if the exponent is an integer-valued double. We don't have to