Bug 1788977 - Remove extraneous setDeferDebugMetadata calls in jsshell. r=arai

The OffThreadCompileToStencil call doesn't use debug metadata so it should not
be requesting deferred metadata initialization.

Depends on D156334

Differential Revision: https://phabricator.services.mozilla.com/D156335
This commit is contained in:
Ted Campbell
2022-09-06 12:01:35 +00:00
parent e797160888
commit db4c7cad42

View File

@@ -5741,8 +5741,7 @@ static bool OffThreadCompileToStencil(JSContext* cx, unsigned argc, Value* vp) {
UniqueChars fileNameBytes;
CompileOptions options(cx);
options.setIntroductionType("js shell offThreadCompileToStencil")
.setFileAndLine("<string>", 1)
.setDeferDebugMetadata();
.setFileAndLine("<string>", 1);
if (args.length() >= 2) {
if (!args[1].isObject()) {