Title: [166121] trunk/Source
Revision
166121
Author
akl...@apple.com
Date
2014-03-22 11:56:56 -0700 (Sat, 22 Mar 2014)

Log Message

Cut down on JSC profiler includes in WebCore & co.
<https://webkit.org/b/130637>

Most of WebKit was pulling in JSC's profiler headers via VM.h.

Reviewed by Darin Adler.

* dfg/DFGDisassembler.cpp:
* dfg/DFGDisassembler.h:
* dfg/DFGJITFinalizer.cpp:
* jsc.cpp:
* runtime/VM.cpp:
* runtime/VM.h:

Modified Paths

Added Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (166120 => 166121)


--- trunk/Source/_javascript_Core/ChangeLog	2014-03-22 18:52:22 UTC (rev 166120)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-03-22 18:56:56 UTC (rev 166121)
@@ -1,3 +1,19 @@
+2014-03-22  Andreas Kling  <akl...@apple.com>
+
+        Cut down on JSC profiler includes in WebCore & co.
+        <https://webkit.org/b/130637>
+
+        Most of WebKit was pulling in JSC's profiler headers via VM.h.
+
+        Reviewed by Darin Adler.
+
+        * dfg/DFGDisassembler.cpp:
+        * dfg/DFGDisassembler.h:
+        * dfg/DFGJITFinalizer.cpp:
+        * jsc.cpp:
+        * runtime/VM.cpp:
+        * runtime/VM.h:
+
 2014-03-22  Landry Breuil <lan...@openbsd.org>
 
         Use pthread_stackseg_np() to find the stack bounds on OpenBSD.

Modified: trunk/Source/_javascript_Core/dfg/DFGDisassembler.cpp (166120 => 166121)


--- trunk/Source/_javascript_Core/dfg/DFGDisassembler.cpp	2014-03-22 18:52:22 UTC (rev 166120)
+++ trunk/Source/_javascript_Core/dfg/DFGDisassembler.cpp	2014-03-22 18:56:56 UTC (rev 166121)
@@ -32,6 +32,7 @@
 #include "DFGGraph.h"
 #include "DFGJITCode.h"
 #include "JSCInlines.h"
+#include "ProfilerDatabase.h"
 #include <wtf/StdLibExtras.h>
 
 namespace JSC { namespace DFG {

Modified: trunk/Source/_javascript_Core/dfg/DFGDisassembler.h (166120 => 166121)


--- trunk/Source/_javascript_Core/dfg/DFGDisassembler.h	2014-03-22 18:52:22 UTC (rev 166120)
+++ trunk/Source/_javascript_Core/dfg/DFGDisassembler.h	2014-03-22 18:56:56 UTC (rev 166121)
@@ -32,6 +32,7 @@
 #include "DumpContext.h"
 #include "LinkBuffer.h"
 #include "MacroAssembler.h"
+#include "ProfilerDatabase.h"
 #include <wtf/HashMap.h>
 #include <wtf/StringPrintStream.h>
 #include <wtf/Vector.h>

Modified: trunk/Source/_javascript_Core/dfg/DFGJITFinalizer.cpp (166120 => 166121)


--- trunk/Source/_javascript_Core/dfg/DFGJITFinalizer.cpp	2014-03-22 18:52:22 UTC (rev 166120)
+++ trunk/Source/_javascript_Core/dfg/DFGJITFinalizer.cpp	2014-03-22 18:56:56 UTC (rev 166121)
@@ -32,6 +32,7 @@
 #include "DFGCommon.h"
 #include "DFGPlan.h"
 #include "JSCInlines.h"
+#include "ProfilerDatabase.h"
 
 namespace JSC { namespace DFG {
 

Modified: trunk/Source/_javascript_Core/jsc.cpp (166120 => 166121)


--- trunk/Source/_javascript_Core/jsc.cpp	2014-03-22 18:52:22 UTC (rev 166120)
+++ trunk/Source/_javascript_Core/jsc.cpp	2014-03-22 18:56:56 UTC (rev 166121)
@@ -37,6 +37,7 @@
 #include "JSLock.h"
 #include "JSProxy.h"
 #include "JSString.h"
+#include "ProfilerDatabase.h"
 #include "SamplingTool.h"
 #include "StackVisitor.h"
 #include "StructureRareDataInlines.h"

Modified: trunk/Source/_javascript_Core/runtime/VM.cpp (166120 => 166121)


--- trunk/Source/_javascript_Core/runtime/VM.cpp	2014-03-22 18:52:22 UTC (rev 166120)
+++ trunk/Source/_javascript_Core/runtime/VM.cpp	2014-03-22 18:56:56 UTC (rev 166121)
@@ -71,6 +71,7 @@
 #include "Nodes.h"
 #include "Parser.h"
 #include "ParserArena.h"
+#include "ProfilerDatabase.h"
 #include "PropertyMapHashTable.h"
 #include "RegExpCache.h"
 #include "RegExpObject.h"

Modified: trunk/Source/_javascript_Core/runtime/VM.h (166120 => 166121)


--- trunk/Source/_javascript_Core/runtime/VM.h	2014-03-22 18:52:22 UTC (rev 166120)
+++ trunk/Source/_javascript_Core/runtime/VM.h	2014-03-22 18:56:56 UTC (rev 166121)
@@ -40,7 +40,6 @@
 #include "LLIntData.h"
 #include "MacroAssemblerCodeRef.h"
 #include "NumericStrings.h"
-#include "ProfilerDatabase.h"
 #include "PrivateName.h"
 #include "PrototypeMap.h"
 #include "SmallStrings.h"
@@ -115,6 +114,9 @@
     namespace CommonSlowPaths {
     struct ArityCheckData;
     }
+    namespace Profiler {
+    class Database;
+    }
 
     struct HashTable;
     struct Instruction;

Added: trunk/Source/WebCore/ForwardingHeaders/profiler/ProfilerDatabase.h (0 => 166121)


--- trunk/Source/WebCore/ForwardingHeaders/profiler/ProfilerDatabase.h	                        (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/profiler/ProfilerDatabase.h	2014-03-22 18:56:56 UTC (rev 166121)
@@ -0,0 +1,5 @@
+#ifndef WebCore_FWD_ProfilerDatabase_h
+#define WebCore_FWD_ProfilerDatabase_h
+#include <_javascript_Core/ProfilerDatabase.h>
+#endif
+

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (166120 => 166121)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2014-03-22 18:52:22 UTC (rev 166120)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2014-03-22 18:56:56 UTC (rev 166121)
@@ -147,6 +147,7 @@
 #include <WebCore/VisibleUnits.h>
 #include <WebCore/markup.h>
 #include <bindings/ScriptValue.h>
+#include <profiler/ProfilerDatabase.h>
 #include <runtime/JSCInlines.h>
 #include <runtime/JSCJSValue.h>
 #include <runtime/JSLock.h>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to