Bug 1734098 - Part 11: Add JS::DecodeStencilOffThread. r=tcampbell
Also make JS::CanDecodeOffThread to receive JS::DecodeOptions. Differential Revision: https://phabricator.services.mozilla.com/D133052
This commit is contained in:
@@ -176,7 +176,7 @@ void ScriptLoadRequest::MaybeCancelOffThreadScript() {
|
||||
JS::CancelCompileToStencilOffThread(cx, mOffThreadToken);
|
||||
} else {
|
||||
MOZ_ASSERT(IsBytecode());
|
||||
JS::CancelOffThreadScriptDecoder(cx, mOffThreadToken);
|
||||
JS::CancelDecodeStencilOffThread(cx, mOffThreadToken);
|
||||
}
|
||||
|
||||
// Cancellation request above should guarantee removal of the parse task, so
|
||||
|
||||
Reference in New Issue
Block a user