diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-06 20:31:14 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-06 20:31:14 +0000 |
commit | c053de708817a3b7c90edcd53fe3742007b8a41e (patch) | |
tree | d616be09d75333065416cb35432eac7b821c4aa9 /js/src/frontend/BytecodeEmitter.cpp | |
parent | fd602fbffbaf8e7d7e58c9ffe9b0b188cb7c65de (diff) | |
parent | 2dff89b658d6ab2592865c226f3f1078f418151d (diff) | |
download | UXP-c053de708817a3b7c90edcd53fe3742007b8a41e.tar UXP-c053de708817a3b7c90edcd53fe3742007b8a41e.tar.gz UXP-c053de708817a3b7c90edcd53fe3742007b8a41e.tar.lz UXP-c053de708817a3b7c90edcd53fe3742007b8a41e.tar.xz UXP-c053de708817a3b7c90edcd53fe3742007b8a41e.zip |
Merge branch 'es-modules-work'
Diffstat (limited to 'js/src/frontend/BytecodeEmitter.cpp')
-rw-r--r-- | js/src/frontend/BytecodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/frontend/BytecodeEmitter.cpp b/js/src/frontend/BytecodeEmitter.cpp index 18cc7d954..654336a64 100644 --- a/js/src/frontend/BytecodeEmitter.cpp +++ b/js/src/frontend/BytecodeEmitter.cpp @@ -8261,7 +8261,7 @@ BytecodeEmitter::emitFunction(ParseNode* pn, bool needsProto) if (topLevelFunction) { if (sc->isModuleContext()) { // For modules, we record the function and instantiate the binding - // during ModuleDeclarationInstantiation(), before the script is run. + // during ModuleInstantiate(), before the script is run. RootedModuleObject module(cx, sc->asModuleContext()->module()); if (!module->noteFunctionDeclaration(cx, name, fun)) |