Title: [188341] trunk/Source/WebCore
Revision
188341
Author
[email protected]
Date
2015-08-12 11:56:50 -0700 (Wed, 12 Aug 2015)

Log Message

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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (188340 => 188341)


--- trunk/Source/WebCore/ChangeLog	2015-08-12 18:54:05 UTC (rev 188340)
+++ trunk/Source/WebCore/ChangeLog	2015-08-12 18:56:50 UTC (rev 188341)
@@ -1,3 +1,14 @@
+2015-08-12  Alex Christensen  <[email protected]>
+
+        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  <[email protected]>
 
         REGRESSION(r185606): ASSERT in WebCore::RenderElement::styleWillChange

Modified: trunk/Source/WebCore/bindings/js/GCController.cpp (188340 => 188341)


--- trunk/Source/WebCore/bindings/js/GCController.cpp	2015-08-12 18:54:05 UTC (rev 188340)
+++ trunk/Source/WebCore/bindings/js/GCController.cpp	2015-08-12 18:56:50 UTC (rev 188341)
@@ -113,19 +113,6 @@
     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);

Modified: trunk/Source/WebCore/bindings/js/GCController.h (188340 => 188341)


--- trunk/Source/WebCore/bindings/js/GCController.h	2015-08-12 18:54:05 UTC (rev 188340)
+++ trunk/Source/WebCore/bindings/js/GCController.h	2015-08-12 18:56:50 UTC (rev 188341)
@@ -44,7 +44,6 @@
     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();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to