summaryrefslogtreecommitdiffstats
path: root/js/src/jsapi.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-07-03 14:21:27 +0000
committerMoonchild <moonchild@palemoon.org>2020-07-10 18:30:03 +0000
commitef8d18da70c2c2efedc5e4db1dca0ece30ac5d14 (patch)
tree48d9bbaeb28e7dbc76317b5c5324404aebb0dcc3 /js/src/jsapi.cpp
parent7bf3e4c46475a7aa936d702eb38d65d9126008f2 (diff)
downloadUXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.tar
UXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.tar.gz
UXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.tar.lz
UXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.tar.xz
UXP-ef8d18da70c2c2efedc5e4db1dca0ece30ac5d14.zip
Issue #618 - Match JSAPI names with the changes in 9ca74147225eed305e28c7887f9b2251aeeb0f36
Ref: BZ 1388728
Diffstat (limited to 'js/src/jsapi.cpp')
-rw-r--r--js/src/jsapi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jsapi.cpp b/js/src/jsapi.cpp
index f8c34885b..9c24f1676 100644
--- a/js/src/jsapi.cpp
+++ b/js/src/jsapi.cpp
@@ -4704,7 +4704,7 @@ JS::GetModuleHostDefinedField(JSObject* module)
}
JS_PUBLIC_API(bool)
-JS::ModuleDeclarationInstantiation(JSContext* cx, JS::HandleObject moduleArg)
+JS::ModuleInstantiate(JSContext* cx, JS::HandleObject moduleArg)
{
AssertHeapIsIdle(cx);
CHECK_REQUEST(cx);
@@ -4713,7 +4713,7 @@ JS::ModuleDeclarationInstantiation(JSContext* cx, JS::HandleObject moduleArg)
}
JS_PUBLIC_API(bool)
-JS::ModuleEvaluation(JSContext* cx, JS::HandleObject moduleArg)
+JS::ModuleEvaluate(JSContext* cx, JS::HandleObject moduleArg)
{
AssertHeapIsIdle(cx);
CHECK_REQUEST(cx);