Title: [248933] trunk/Source/_javascript_Core
Revision
248933
Author
drou...@apple.com
Date
2019-08-20 22:25:34 -0700 (Tue, 20 Aug 2019)

Log Message

Unreviewed, speculative build fix for High Sierra after r248925

* inspector/JSInjectedScriptHost.cpp:
(Inspector::HeapHolderFinder::dump):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (248932 => 248933)


--- trunk/Source/_javascript_Core/ChangeLog	2019-08-21 01:41:51 UTC (rev 248932)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-08-21 05:25:34 UTC (rev 248933)
@@ -1,3 +1,10 @@
+2019-08-20  Devin Rousso  <drou...@apple.com>
+
+        Unreviewed, speculative build fix for High Sierra after r248925
+
+        * inspector/JSInjectedScriptHost.cpp:
+        (Inspector::HeapHolderFinder::dump):
+
 2019-08-20  Mark Lam  <mark....@apple.com>
 
         Remove superfluous size argument to allocateCell() for fixed size objects.

Modified: trunk/Source/_javascript_Core/inspector/JSInjectedScriptHost.cpp (248932 => 248933)


--- trunk/Source/_javascript_Core/inspector/JSInjectedScriptHost.cpp	2019-08-21 01:41:51 UTC (rev 248932)
+++ trunk/Source/_javascript_Core/inspector/JSInjectedScriptHost.cpp	2019-08-21 05:25:34 UTC (rev 248933)
@@ -831,6 +831,7 @@
     void setWrappedObjectForCell(JSCell*, void*) { }
     void setLabelForCell(JSCell*, const String&) { }
 
+#ifndef NDEBUG
     void dump(PrintStream& out) const
     {
         Indentation<4> indent;
@@ -860,7 +861,7 @@
             out.println();
 
             if (isFirstVisit) {
-                IndentationScope scope(indent);
+                IndentationScope<4> scope(indent);
                 for (auto* to : m_successors.get(from))
                     visit(to);
             }
@@ -869,6 +870,7 @@
         for (auto* from : m_rootsToInclude)
             visit(from);
     }
+#endif
 
 private:
     Lock m_mutex;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to