Make JavaScriptCore SPI headers used by WebCore SPI headers self-contained
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Jul 2015 21:29:34 +0000 (21:29 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Jul 2015 21:29:34 +0000 (21:29 +0000)
https://bugs.webkit.org/show_bug.cgi?id=146978

Reviewed by Dan Bernstein.

Source/JavaScriptCore:

* debugger/DebuggerPrimitives.h:
* disassembler/Disassembler.h:
* heap/Weak.h:
* inspector/InspectorValues.h:
* runtime/JSCJSValue.h:

Source/WTF:

* wtf/ExportMacros.h:

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/debugger/DebuggerPrimitives.h
Source/JavaScriptCore/disassembler/Disassembler.h
Source/JavaScriptCore/heap/Weak.h
Source/JavaScriptCore/inspector/InspectorValues.h
Source/JavaScriptCore/runtime/JSCJSValue.h
Source/WTF/ChangeLog
Source/WTF/wtf/ExportMacros.h

index ded3c81..7b16be8 100644 (file)
@@ -1,3 +1,16 @@
+2015-07-15  Anders Carlsson  <andersca@apple.com>
+
+        Make JavaScriptCore SPI headers used by WebCore SPI headers self-contained
+        https://bugs.webkit.org/show_bug.cgi?id=146978
+
+        Reviewed by Dan Bernstein.
+
+        * debugger/DebuggerPrimitives.h:
+        * disassembler/Disassembler.h:
+        * heap/Weak.h:
+        * inspector/InspectorValues.h:
+        * runtime/JSCJSValue.h:
+
 2015-07-14  Anders Carlsson  <andersca@apple.com>
 
         Assertions.h should include ExportMacros.h
index 635a5bf..ab7301b 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef DebuggerPrimitives_h
 #define DebuggerPrimitives_h
 
+#include <stddef.h>
+
 namespace JSC {
 
 typedef size_t SourceID;
index 6eaf7b6..9276f6a 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef Disassembler_h
 #define Disassembler_h
 
+#include "JSExportMacros.h"
 #include <functional>
 #include <wtf/PrintStream.h>
 #include <wtf/text/CString.h>
index 80cdbd8..8c30215 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef Weak_h
 #define Weak_h
 
+#include "JSExportMacros.h"
 #include <cstddef>
 #include <wtf/Noncopyable.h>
 
index db05036..7110eb7 100644 (file)
@@ -32,6 +32,7 @@
 #ifndef InspectorValues_h
 #define InspectorValues_h
 
+#include "JSExportMacros.h"
 #include <wtf/Assertions.h>
 #include <wtf/HashMap.h>
 #include <wtf/RefCounted.h>
index 039c14e..9fec3e3 100644 (file)
 #ifndef JSCJSValue_h
 #define JSCJSValue_h
 
-#include <math.h>
+#include "JSExportMacros.h"
 #include "PureNaN.h"
-#include <stddef.h> // for size_t
+#include <functional>
+#include <math.h>
+#include <stddef.h>
 #include <stdint.h>
 #include <wtf/Assertions.h>
 #include <wtf/Forward.h>
index f328412..69b6804 100644 (file)
@@ -1,3 +1,12 @@
+2015-07-15  Anders Carlsson  <andersca@apple.com>
+
+        Make JavaScriptCore SPI headers used by WebCore SPI headers self-contained
+        https://bugs.webkit.org/show_bug.cgi?id=146978
+
+        Reviewed by Dan Bernstein.
+
+        * wtf/ExportMacros.h:
+
 2015-07-14  Anders Carlsson  <andersca@apple.com>
 
         Assertions.h should include ExportMacros.h
index c90b9f0..9c49dd1 100644 (file)
@@ -30,6 +30,8 @@
 #ifndef ExportMacros_h
 #define ExportMacros_h
 
+#include <wtf/Platform.h>
+
 // Different platforms have different defaults for symbol visibility. Usually
 // the compiler and the linker just take care of it. However for references to
 // runtime routines from JIT stubs, it matters to be able to declare a symbol as