-
ggaren@apple.com authored
Reviewed by Oliver Hunt. Fixed a weak-handle-related leak in RegisterFile https://bugs.webkit.org/show_bug.cgi?id=57793 * interpreter/RegisterFile.cpp: Nixed leaky GlobalObjectNotifier. * interpreter/RegisterFile.h: (JSC::RegisterFile::GlobalObjectOwner::finalize): (JSC::RegisterFile::RegisterFile): Replaced GlobalObjectNotifier with a per-RegisterFile weak handle owner, which does not leak. * runtime/WeakGCPtr.h: (JSC::WeakGCPtr::set): Allow set() to take a context argument, since RegisterFile now needs this. (Seems like it was an accidental omission all along.) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6ac69d8e