LibJSGCVerifier: Support marking GCPtr members as raw references

This lets us avoid false positives when a GCPtr-wrapped member is only
a weak reference which is automatically updated by the GC when the
member's gc state is updated.
This commit is contained in:
Idan Horowitz 2024-04-05 20:04:37 +03:00 committed by Andreas Kling
commit c84cd1d668
Notes: sideshowbarker 2024-07-17 03:30:41 +09:00
4 changed files with 9 additions and 5 deletions

View file

@ -32,7 +32,7 @@ public:
private:
explicit WeakSet(Object& prototype);
HashTable<GCPtr<Cell>> m_values; // This stores Cell pointers instead of Object pointers to aide with sweeping
HashTable<RawGCPtr<Cell>> m_values; // This stores Cell pointers instead of Object pointers to aide with sweeping
};
}