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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user