Title: [244019] trunk/Source/_javascript_Core
Revision
244019
Author
[email protected]
Date
2019-04-08 07:45:08 -0700 (Mon, 08 Apr 2019)

Log Message

[JSC] Partially fix the build with unified builds disabled
https://bugs.webkit.org/show_bug.cgi?id=196647

Reviewed by Konstantin Tokarev.

If you disable unified builds you find all kind of build
errors. This partially tries to fix them but there's a lot
more.

* API/JSBaseInternal.h:
* b3/air/AirAllocateRegistersAndStackAndGenerateCode.cpp:
* b3/air/AirHandleCalleeSaves.h:
* bytecode/ExecutableToCodeBlockEdge.cpp:
* bytecode/ExitFlag.h:
* bytecode/ICStatusUtils.h:
* bytecode/UnlinkedMetadataTable.h:
* dfg/DFGPureValue.h:
* heap/IsoAlignedMemoryAllocator.cpp:
* heap/IsoAlignedMemoryAllocator.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/API/JSBaseInternal.h (244018 => 244019)


--- trunk/Source/_javascript_Core/API/JSBaseInternal.h	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/API/JSBaseInternal.h	2019-04-08 14:45:08 UTC (rev 244019)
@@ -31,6 +31,7 @@
 namespace JSC {
 class JSLockHolder;
 class ExecState;
+class SourceCode;
 }
 
 extern "C" JSValueRef JSEvaluateScriptInternal(const JSC::JSLockHolder&, JSC::ExecState*, JSContextRef, JSObjectRef thisObject, const JSC::SourceCode&, JSValueRef* exception);

Modified: trunk/Source/_javascript_Core/ChangeLog (244018 => 244019)


--- trunk/Source/_javascript_Core/ChangeLog	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-04-08 14:45:08 UTC (rev 244019)
@@ -1,3 +1,25 @@
+2019-04-08  Claudio Saavedra  <[email protected]>
+
+        [JSC] Partially fix the build with unified builds disabled
+        https://bugs.webkit.org/show_bug.cgi?id=196647
+
+        Reviewed by Konstantin Tokarev.
+
+        If you disable unified builds you find all kind of build
+        errors. This partially tries to fix them but there's a lot
+        more.
+
+        * API/JSBaseInternal.h:
+        * b3/air/AirAllocateRegistersAndStackAndGenerateCode.cpp:
+        * b3/air/AirHandleCalleeSaves.h:
+        * bytecode/ExecutableToCodeBlockEdge.cpp:
+        * bytecode/ExitFlag.h:
+        * bytecode/ICStatusUtils.h:
+        * bytecode/UnlinkedMetadataTable.h:
+        * dfg/DFGPureValue.h:
+        * heap/IsoAlignedMemoryAllocator.cpp:
+        * heap/IsoAlignedMemoryAllocator.h:
+
 2019-04-08  Guillaume Emont  <[email protected]>
 
         Enable DFG on MIPS

Modified: trunk/Source/_javascript_Core/b3/air/AirAllocateRegistersAndStackAndGenerateCode.cpp (244018 => 244019)


--- trunk/Source/_javascript_Core/b3/air/AirAllocateRegistersAndStackAndGenerateCode.cpp	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/b3/air/AirAllocateRegistersAndStackAndGenerateCode.cpp	2019-04-08 14:45:08 UTC (rev 244019)
@@ -28,6 +28,7 @@
 
 #if ENABLE(B3_JIT)
 
+#include "AirArgInlines.h"
 #include "AirBlockInsertionSet.h"
 #include "AirCode.h"
 #include "AirHandleCalleeSaves.h"

Modified: trunk/Source/_javascript_Core/b3/air/AirHandleCalleeSaves.h (244018 => 244019)


--- trunk/Source/_javascript_Core/b3/air/AirHandleCalleeSaves.h	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/b3/air/AirHandleCalleeSaves.h	2019-04-08 14:45:08 UTC (rev 244019)
@@ -27,8 +27,12 @@
 
 #if ENABLE(B3_JIT)
 
-namespace JSC { namespace B3 { namespace Air {
+namespace JSC {
 
+class RegisterSet;
+
+namespace B3 { namespace Air {
+
 class Code;
 
 // This utility identifies callee-save registers and tells Code. It's called from phases that

Modified: trunk/Source/_javascript_Core/bytecode/ExecutableToCodeBlockEdge.cpp (244018 => 244019)


--- trunk/Source/_javascript_Core/bytecode/ExecutableToCodeBlockEdge.cpp	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/bytecode/ExecutableToCodeBlockEdge.cpp	2019-04-08 14:45:08 UTC (rev 244019)
@@ -26,6 +26,7 @@
 #include "config.h"
 #include "ExecutableToCodeBlockEdge.h"
 
+#include "CodeBlock.h"
 #include "IsoCellSetInlines.h"
 
 namespace JSC {

Modified: trunk/Source/_javascript_Core/bytecode/ExitFlag.h (244018 => 244019)


--- trunk/Source/_javascript_Core/bytecode/ExitFlag.h	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/bytecode/ExitFlag.h	2019-04-08 14:45:08 UTC (rev 244019)
@@ -27,6 +27,10 @@
 
 #include "ExitingInlineKind.h"
 
+namespace WTF {
+class PrintStream;
+} // namespace WTF
+
 namespace JSC {
 
 class ExitFlag {
@@ -87,7 +91,7 @@
         return !!(*this & ExitFlag(true, inlineKind));
     }
     
-    void dump(PrintStream&) const;
+    void dump(WTF::PrintStream&) const;
     
 private:
     static constexpr uint8_t trueNotInlined = 1;

Modified: trunk/Source/_javascript_Core/bytecode/ICStatusUtils.h (244018 => 244019)


--- trunk/Source/_javascript_Core/bytecode/ICStatusUtils.h	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/bytecode/ICStatusUtils.h	2019-04-08 14:45:08 UTC (rev 244019)
@@ -29,6 +29,9 @@
 
 namespace JSC {
 
+class CodeBlock;
+class StructureSet;
+
 template<typename VariantVectorType, typename VariantType>
 bool appendICStatusVariant(VariantVectorType& variants, const VariantType& variant)
 {

Modified: trunk/Source/_javascript_Core/bytecode/UnlinkedMetadataTable.h (244018 => 244019)


--- trunk/Source/_javascript_Core/bytecode/UnlinkedMetadataTable.h	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/bytecode/UnlinkedMetadataTable.h	2019-04-08 14:45:08 UTC (rev 244019)
@@ -27,6 +27,7 @@
 
 #include "Opcode.h"
 #include <wtf/Ref.h>
+#include <wtf/RefCounted.h>
 
 namespace JSC {
 

Modified: trunk/Source/_javascript_Core/dfg/DFGPureValue.h (244018 => 244019)


--- trunk/Source/_javascript_Core/dfg/DFGPureValue.h	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/dfg/DFGPureValue.h	2019-04-08 14:45:08 UTC (rev 244019)
@@ -27,6 +27,7 @@
 
 #if ENABLE(DFG_JIT)
 
+#include "DFGGraph.h"
 #include "DFGNode.h"
 
 namespace JSC { namespace DFG {

Modified: trunk/Source/_javascript_Core/heap/IsoAlignedMemoryAllocator.cpp (244018 => 244019)


--- trunk/Source/_javascript_Core/heap/IsoAlignedMemoryAllocator.cpp	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/heap/IsoAlignedMemoryAllocator.cpp	2019-04-08 14:45:08 UTC (rev 244019)
@@ -25,6 +25,7 @@
 
 #include "config.h"
 #include "IsoAlignedMemoryAllocator.h"
+#include "MarkedBlock.h"
 
 namespace JSC {
 

Modified: trunk/Source/_javascript_Core/heap/IsoAlignedMemoryAllocator.h (244018 => 244019)


--- trunk/Source/_javascript_Core/heap/IsoAlignedMemoryAllocator.h	2019-04-08 12:40:04 UTC (rev 244018)
+++ trunk/Source/_javascript_Core/heap/IsoAlignedMemoryAllocator.h	2019-04-08 14:45:08 UTC (rev 244019)
@@ -26,6 +26,9 @@
 #pragma once
 
 #include "AlignedMemoryAllocator.h"
+#include <wtf/FastBitVector.h>
+#include <wtf/HashMap.h>
+#include <wtf/Vector.h>
 
 namespace JSC {
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to