From: ggaren@apple.com Date: Thu, 13 Aug 2015 20:28:12 +0000 (+0000) Subject: RegExpCache::finalize should not delete code X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=10a82fe26a97f60a37585919665b1d23b145d8b6;hp=10a82fe26a97f60a37585919665b1d23b145d8b6;ds=sidebyside RegExpCache::finalize should not delete code https://bugs.webkit.org/show_bug.cgi?id=147987 Reviewed by Mark Lam. The RegExp object already knows how to delete its own code in its destructor. Our job is just to clear our stale pointer. * runtime/RegExpCache.cpp: (JSC::RegExpCache::finalize): (JSC::RegExpCache::addToStrongCache): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188397 268f45cc-cd09-0410-ab3c-d52691b4dbfc ---