From 8e9e5f75accf86773125d2844ed7b5b098417b36 Mon Sep 17 00:00:00 2001 From: Iain Ireland Date: Mon, 15 Oct 2018 13:31:34 +0000 Subject: [PATCH] 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 --- js/src/jsmath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsmath.cpp b/js/src/jsmath.cpp index 21b792941cc9..e3b5691834dc 100644 --- a/js/src/jsmath.cpp +++ b/js/src/jsmath.cpp @@ -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