summaryrefslogtreecommitdiffstats
path: root/js/src
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-08 11:01:01 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-08 11:01:01 +0000
commitb55d425b37b552e3fd5c781af6d9a172d0ce763c (patch)
tree2ecc2528720563be1ddfa02b637dcd8297dfd2ba /js/src
parent1154e48843479efa00d81712cafcd9e520180030 (diff)
parentdf55ce90372c71ec9cb186677044aacc96c87187 (diff)
downloadUXP-b55d425b37b552e3fd5c781af6d9a172d0ce763c.tar
UXP-b55d425b37b552e3fd5c781af6d9a172d0ce763c.tar.gz
UXP-b55d425b37b552e3fd5c781af6d9a172d0ce763c.tar.lz
UXP-b55d425b37b552e3fd5c781af6d9a172d0ce763c.tar.xz
UXP-b55d425b37b552e3fd5c781af6d9a172d0ce763c.zip
Merge branch 'es-modules-work'
Diffstat (limited to 'js/src')
-rw-r--r--js/src/jsapi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/jsapi.cpp b/js/src/jsapi.cpp
index 69a3ba2ac..c0f0e61cc 100644
--- a/js/src/jsapi.cpp
+++ b/js/src/jsapi.cpp
@@ -4708,7 +4708,7 @@ JS::ModuleInstantiate(JSContext* cx, JS::HandleObject moduleArg)
{
AssertHeapIsIdle(cx);
CHECK_REQUEST(cx);
- assertSameCompartment(cx, moduleArg);
+ releaseAssertSameCompartment(cx, moduleArg);
return ModuleObject::Instantiate(cx, moduleArg.as<ModuleObject>());
}
@@ -4717,7 +4717,7 @@ JS::ModuleEvaluate(JSContext* cx, JS::HandleObject moduleArg)
{
AssertHeapIsIdle(cx);
CHECK_REQUEST(cx);
- assertSameCompartment(cx, moduleArg);
+ releaseAssertSameCompartment(cx, moduleArg);
return ModuleObject::Evaluate(cx, moduleArg.as<ModuleObject>());
}
@@ -6204,7 +6204,7 @@ JS_SetPendingException(JSContext* cx, HandleValue value)
{
AssertHeapIsIdle(cx);
CHECK_REQUEST(cx);
- assertSameCompartment(cx, value);
+ releaseAssertSameCompartment(cx, value);
cx->setPendingException(value);
}