Bug 1898677 - Cache the result of bytecode encoding condition. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D211517
This commit is contained in:
@@ -686,7 +686,7 @@ class ScriptLoader final : public JS::loader::ScriptLoaderInterface {
|
||||
|
||||
// Returns wether we should save the bytecode of this script after the
|
||||
// execution of the script.
|
||||
static bool ShouldCacheBytecode(ScriptLoadRequest* aRequest);
|
||||
static void CalculateBytecodeCacheFlag(ScriptLoadRequest* aRequest);
|
||||
|
||||
void RunScriptWhenSafe(ScriptLoadRequest* aRequest);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user