mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 941821 - Suppress a rooting analysis hazard false positive across ForkJoin invocation; r=sfink
--HG-- extra : rebase_source : f75e0939c648187297c9ecba3ee31f817316d5e4
This commit is contained in:
parent
0f1cbbb6e3
commit
9ea02cd273
@ -1473,6 +1473,11 @@ ForkJoinShared::executePortion(PerThreadData *perThread,
|
||||
// WARNING: This code runs ON THE PARALLEL WORKER THREAD.
|
||||
// Therefore, it should NOT access `cx_` in any way!
|
||||
|
||||
// ForkJoinSlice already contains an AutoAssertNoGC; however, the analysis
|
||||
// does not propagate this type information. We duplicate the assertion
|
||||
// here for maximum clarity.
|
||||
JS::AutoAssertNoGC nogc;
|
||||
|
||||
Allocator *allocator = allocators_[threadId];
|
||||
ForkJoinSlice slice(perThread, threadId, numSlices_, allocator,
|
||||
this, &records_[threadId]);
|
||||
|
Loading…
Reference in New Issue
Block a user