Unreviewed build fix after r188339.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Aug 2015 18:56:50 +0000 (18:56 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Aug 2015 18:56:50 +0000 (18:56 +0000)
* bindings/js/GCController.cpp:
(WebCore::GCController::garbageCollectOnAlternateThreadForDebugging):
(WebCore::GCController::setJavaScriptGarbageCollectorTimerEnabled):
(WebCore::GCController::releaseExecutableMemory): Deleted.
* bindings/js/GCController.h:
Commit WebCore part of patch.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188341 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/js/GCController.cpp
Source/WebCore/bindings/js/GCController.h

index 7dd4b2a..a838a4b 100644 (file)
@@ -1,3 +1,14 @@
+2015-08-12  Alex Christensen  <achristensen@webkit.org>
+
+        Unreviewed build fix after r188339.
+
+        * bindings/js/GCController.cpp:
+        (WebCore::GCController::garbageCollectOnAlternateThreadForDebugging):
+        (WebCore::GCController::setJavaScriptGarbageCollectorTimerEnabled):
+        (WebCore::GCController::releaseExecutableMemory): Deleted.
+        * bindings/js/GCController.h:
+        Commit WebCore part of patch.
+
 2015-08-12  Brent Fulgham  <bfulgham@apple.com>
 
         REGRESSION(r185606): ASSERT in WebCore::RenderElement::styleWillChange
index e58f69a..b1768e9 100644 (file)
@@ -113,19 +113,6 @@ void GCController::garbageCollectOnAlternateThreadForDebugging(bool waitUntilDon
     detachThread(threadID);
 }
 
-void GCController::releaseExecutableMemory()
-{
-    JSLockHolder lock(JSDOMWindow::commonVM());
-
-    // We shouldn't have any JavaScript running on our stack when this function is called.
-    // The following line asserts that, but to be safe we check this in release builds anyway.
-    ASSERT(!JSDOMWindow::commonVM().entryScope);
-    if (JSDOMWindow::commonVM().entryScope)
-        return;
-
-    JSDOMWindow::commonVM().releaseExecutableMemory();
-}
-
 void GCController::setJavaScriptGarbageCollectorTimerEnabled(bool enable)
 {
     JSDOMWindow::commonVM().heap.setGarbageCollectionTimerEnabled(enable);
index 9720c3c..e0bb584 100644 (file)
@@ -44,7 +44,6 @@ public:
     void garbageCollectOnNextRunLoop();
 
     WEBCORE_EXPORT void garbageCollectOnAlternateThreadForDebugging(bool waitUntilDone); // Used for stress testing.
-    WEBCORE_EXPORT void releaseExecutableMemory();
     WEBCORE_EXPORT void setJavaScriptGarbageCollectorTimerEnabled(bool);
     WEBCORE_EXPORT void discardAllCompiledCode();