#607: make it PPC only

This commit is contained in:
Cameron Kaiser 2020-08-15 18:50:18 -07:00
parent 55572f5ec1
commit 6e4dd2257a
1 changed files with 4 additions and 0 deletions

View File

@ -96,7 +96,11 @@ using mozilla::dom::indexedDB::IndexedDatabaseManager;
// Half the size of the actual C stack, to be safe.
// We need a little larger than regular Firefox.
// This should be less than kWorkerStackSize in WorkerThread.cpp.
#ifdef __ppc__
#define WORKER_CONTEXT_NATIVE_STACK_LIMIT 15360 * sizeof(size_t) * 1024
#else
#define WORKER_CONTEXT_NATIVE_STACK_LIMIT 512 * sizeof(size_t) * 1024
#endif
// The maximum number of threads to use for workers, overridable via pref.
#define MAX_WORKERS_PER_DOMAIN 10