Annotate shrinkFootprintWhenIdle with NS_AVAILABLE
authorsbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jun 2018 02:53:32 +0000 (02:53 +0000)
committersbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jun 2018 02:53:32 +0000 (02:53 +0000)
https://bugs.webkit.org/show_bug.cgi?id=186687
<rdar://problem/40071332>

Reviewed by Keith Miller.

* API/JSVirtualMachinePrivate.h:

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

Source/JavaScriptCore/API/JSVirtualMachinePrivate.h
Source/JavaScriptCore/ChangeLog

index c042251..486a67b 100644 (file)
@@ -42,7 +42,7 @@
  API may not synchronously free memory.
 */
 
-- (void)shrinkFootprintWhenIdle; // FIXME: Annotate this with NS_AVAILABLE: <rdar://problem/40071332>.
+- (void)shrinkFootprintWhenIdle NS_AVAILABLE(10_14, 12_0);
 
 @end
 
index 8269510..2bff9d2 100644 (file)
@@ -1,5 +1,15 @@
 2018-06-15  Saam Barati  <sbarati@apple.com>
 
+        Annotate shrinkFootprintWhenIdle with NS_AVAILABLE
+        https://bugs.webkit.org/show_bug.cgi?id=186687
+        <rdar://problem/40071332>
+
+        Reviewed by Keith Miller.
+
+        * API/JSVirtualMachinePrivate.h:
+
+2018-06-15  Saam Barati  <sbarati@apple.com>
+
         Make ForceOSRExit CFG pruning in bytecode parser more aggressive by making the original block to ignore be the plan's osrEntryBytecodeIndex
         https://bugs.webkit.org/show_bug.cgi?id=186648