Accidental addition/regression from may 2025 merge. Took what was not needed and caused multi-threading regression for parsing.

Accidental addition/regression from may 2025 merge. Took what was not needed and caused multi-threading regression for parsing.
This commit is contained in:
win7-7 2026-01-07 08:43:27 +02:00 committed by wuggy
commit c324e4df46

View file

@ -562,7 +562,6 @@ class MOZ_RAII AutoUnlockHelperThreadState : public UnlockGuard<Mutex>
struct ParseTask
{
ParseTaskKind kind;
ExclusiveContext* cx;
JS::OwningCompileOptions options;
// Anonymous union, the only correct interpretation is provided by the
// ParseTaskKind value, or from the virtual parse function.