mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1236104 - Increase tiny script limit for off-thread compilation. r=djvj
This commit is contained in:
parent
cbcd1cf6ba
commit
6ad6825fc7
@ -4097,7 +4097,7 @@ JS::CompileForNonSyntacticScope(JSContext* cx, const ReadOnlyCompileOptions& opt
|
||||
JS_PUBLIC_API(bool)
|
||||
JS::CanCompileOffThread(JSContext* cx, const ReadOnlyCompileOptions& options, size_t length)
|
||||
{
|
||||
static const size_t TINY_LENGTH = 5 * 1000;
|
||||
static const size_t TINY_LENGTH = 25 * 1000;
|
||||
static const size_t HUGE_LENGTH = 100 * 1000;
|
||||
|
||||
// These are heuristics which the caller may choose to ignore (e.g., for
|
||||
|
Loading…
Reference in New Issue
Block a user