<https://webkit.org/b/130144>
Reviewed by Michael Saboff.
* runtime/VM.cpp:
(JSC::VM::discardAllCode):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165593
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-03-13 Andreas Kling <akling@apple.com>
+
+ VM::discardAllCode() should clear the RegExp cache.
+ <https://webkit.org/b/130144>
+
+ Reviewed by Michael Saboff.
+
+ * runtime/VM.cpp:
+ (JSC::VM::discardAllCode):
+
2014-03-13 Andreas Kling <akling@apple.com>
Revert "Short-circuit JSGlobalObjectInspectorController when not inspecting."
{
waitForCompilationsToComplete();
m_codeCache->clear();
+ m_regExpCache->invalidateCode();
heap.deleteAllCompiledCode();
heap.deleteAllUnlinkedFunctionCode();
heap.reportAbandonedObjectGraph();