REGRESSION(r261755): Win/Linux non-unified builds have hundreds of link failures
https://bugs.webkit.org/show_bug.cgi?id=212111
Unreviewed build fix.
* API/:
* bindings/:
* bytecode/:
* bytecompiler/NodesCodegen.cpp:
* debugger/:
* dfg/:
* heap/:
* inspector/:
* interpreter/:
* jit/:
* llint/LLIntEntrypoint.cpp:
* parser/:
* profiler/:
* runtime/:
Restore *Inlines.h includes for >300 files,
but try to preserve the spirit of the original patch by pruning redundancies along the way.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@261895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/bytecode/ArithProfile.cpp b/Source/JavaScriptCore/bytecode/ArithProfile.cpp
index e724c32..3b932e2 100644
--- a/Source/JavaScriptCore/bytecode/ArithProfile.cpp
+++ b/Source/JavaScriptCore/bytecode/ArithProfile.cpp
@@ -27,6 +27,7 @@
#include "ArithProfile.h"
#include "CCallHelpers.h"
+#include "JSCJSValueInlines.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp b/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp
index 9f89d5b..7ff66eb 100644
--- a/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp
+++ b/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp
@@ -26,6 +26,7 @@
#include "config.h"
#include "ArrayAllocationProfile.h"
+#include "JSCellInlines.h"
#include <algorithm>
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/ArrayProfile.cpp b/Source/JavaScriptCore/bytecode/ArrayProfile.cpp
index a6d80c5..1fc7678 100644
--- a/Source/JavaScriptCore/bytecode/ArrayProfile.cpp
+++ b/Source/JavaScriptCore/bytecode/ArrayProfile.cpp
@@ -27,6 +27,7 @@
#include "ArrayProfile.h"
#include "CodeBlock.h"
+#include "JSCellInlines.h"
#include <wtf/CommaPrinter.h>
#include <wtf/StringPrintStream.h>
diff --git a/Source/JavaScriptCore/bytecode/BytecodeDumper.cpp b/Source/JavaScriptCore/bytecode/BytecodeDumper.cpp
index 7753e71..c240d9f 100644
--- a/Source/JavaScriptCore/bytecode/BytecodeDumper.cpp
+++ b/Source/JavaScriptCore/bytecode/BytecodeDumper.cpp
@@ -30,6 +30,7 @@
#include "BytecodeGenerator.h"
#include "BytecodeStructs.h"
#include "CodeBlock.h"
+#include "JSCJSValueInlines.h"
#include "UnlinkedCodeBlockGenerator.h"
#include "UnlinkedMetadataTableInlines.h"
#include "WasmFunctionCodeBlock.h"
diff --git a/Source/JavaScriptCore/bytecode/BytecodeGeneratorification.cpp b/Source/JavaScriptCore/bytecode/BytecodeGeneratorification.cpp
index 7db10bb..6fba229 100644
--- a/Source/JavaScriptCore/bytecode/BytecodeGeneratorification.cpp
+++ b/Source/JavaScriptCore/bytecode/BytecodeGeneratorification.cpp
@@ -37,6 +37,7 @@
#include "Label.h"
#include "StrongInlines.h"
#include "UnlinkedCodeBlockGenerator.h"
+#include "UnlinkedMetadataTableInlines.h"
#include <wtf/Optional.h>
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.cpp b/Source/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.cpp
index a50b433..8dcf13d 100644
--- a/Source/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.cpp
+++ b/Source/JavaScriptCore/bytecode/BytecodeLivenessAnalysis.cpp
@@ -30,6 +30,7 @@
#include "BytecodeUseDef.h"
#include "CodeBlock.h"
#include "FullBytecodeLiveness.h"
+#include "JSCJSValueInlines.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/BytecodeRewriter.cpp b/Source/JavaScriptCore/bytecode/BytecodeRewriter.cpp
index e7ce960..81026ab 100644
--- a/Source/JavaScriptCore/bytecode/BytecodeRewriter.cpp
+++ b/Source/JavaScriptCore/bytecode/BytecodeRewriter.cpp
@@ -27,6 +27,7 @@
#include "config.h"
#include "BytecodeRewriter.h"
+#include "JSCJSValueInlines.h"
#include "PreciseJumpTargetsInlines.h"
#include <wtf/BubbleSort.h>
diff --git a/Source/JavaScriptCore/bytecode/CallLinkInfo.cpp b/Source/JavaScriptCore/bytecode/CallLinkInfo.cpp
index 7f0aad3..086dde6 100644
--- a/Source/JavaScriptCore/bytecode/CallLinkInfo.cpp
+++ b/Source/JavaScriptCore/bytecode/CallLinkInfo.cpp
@@ -28,6 +28,7 @@
#include "CallFrameShuffleData.h"
#include "FunctionCodeBlock.h"
+#include "JSCellInlines.h"
#include "Opcode.h"
#include "Repatch.h"
#include <wtf/ListDump.h>
diff --git a/Source/JavaScriptCore/bytecode/CallLinkStatus.cpp b/Source/JavaScriptCore/bytecode/CallLinkStatus.cpp
index 9bfdd3d..a3d2d67 100644
--- a/Source/JavaScriptCore/bytecode/CallLinkStatus.cpp
+++ b/Source/JavaScriptCore/bytecode/CallLinkStatus.cpp
@@ -29,6 +29,7 @@
#include "BytecodeStructs.h"
#include "CallLinkInfo.h"
#include "CodeBlock.h"
+#include "JSCInlines.h"
#include "LLIntCallLinkInfo.h"
#include <wtf/CommaPrinter.h>
#include <wtf/ListDump.h>
diff --git a/Source/JavaScriptCore/bytecode/CallVariant.cpp b/Source/JavaScriptCore/bytecode/CallVariant.cpp
index cf73b03..5272775 100644
--- a/Source/JavaScriptCore/bytecode/CallVariant.cpp
+++ b/Source/JavaScriptCore/bytecode/CallVariant.cpp
@@ -26,6 +26,7 @@
#include "config.h"
#include "CallVariant.h"
+#include "JSCInlines.h"
#include <wtf/ListDump.h>
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/DirectEvalCodeCache.cpp b/Source/JavaScriptCore/bytecode/DirectEvalCodeCache.cpp
index 950284f..fa28546 100644
--- a/Source/JavaScriptCore/bytecode/DirectEvalCodeCache.cpp
+++ b/Source/JavaScriptCore/bytecode/DirectEvalCodeCache.cpp
@@ -26,7 +26,7 @@
#include "config.h"
#include "DirectEvalCodeCache.h"
-#include "SlotVisitorInlines.h"
+#include "JSCellInlines.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/InstanceOfVariant.cpp b/Source/JavaScriptCore/bytecode/InstanceOfVariant.cpp
index 46ac73d..3c928ad 100644
--- a/Source/JavaScriptCore/bytecode/InstanceOfVariant.cpp
+++ b/Source/JavaScriptCore/bytecode/InstanceOfVariant.cpp
@@ -26,6 +26,8 @@
#include "config.h"
#include "InstanceOfVariant.h"
+#include "JSCJSValueInlines.h"
+
namespace JSC {
InstanceOfVariant::InstanceOfVariant(
diff --git a/Source/JavaScriptCore/bytecode/IntrinsicGetterAccessCase.cpp b/Source/JavaScriptCore/bytecode/IntrinsicGetterAccessCase.cpp
index dd75b1a..133f4fb 100644
--- a/Source/JavaScriptCore/bytecode/IntrinsicGetterAccessCase.cpp
+++ b/Source/JavaScriptCore/bytecode/IntrinsicGetterAccessCase.cpp
@@ -28,6 +28,8 @@
#if ENABLE(JIT)
+#include "HeapInlines.h"
+
namespace JSC {
IntrinsicGetterAccessCase::IntrinsicGetterAccessCase(VM& vm, JSCell* owner, CacheableIdentifier identifier, PropertyOffset offset, Structure* structure, const ObjectPropertyConditionSet& conditionSet, JSFunction* intrinsicFunction, std::unique_ptr<PolyProtoAccessChain> prototypeAccessChain)
diff --git a/Source/JavaScriptCore/bytecode/LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp b/Source/JavaScriptCore/bytecode/LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp
index 5b93b2e..23a9b13 100644
--- a/Source/JavaScriptCore/bytecode/LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp
+++ b/Source/JavaScriptCore/bytecode/LLIntPrototypeLoadAdaptiveStructureWatchpoint.cpp
@@ -28,6 +28,7 @@
#include "CodeBlock.h"
#include "Instruction.h"
+#include "JSCellInlines.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/MetadataTable.cpp b/Source/JavaScriptCore/bytecode/MetadataTable.cpp
index de2eb7c..60c4d36 100644
--- a/Source/JavaScriptCore/bytecode/MetadataTable.cpp
+++ b/Source/JavaScriptCore/bytecode/MetadataTable.cpp
@@ -26,6 +26,7 @@
#include "config.h"
#include "MetadataTable.h"
+#include "JSCJSValueInlines.h"
#include "OpcodeInlines.h"
#include "UnlinkedMetadataTableInlines.h"
diff --git a/Source/JavaScriptCore/bytecode/MethodOfGettingAValueProfile.cpp b/Source/JavaScriptCore/bytecode/MethodOfGettingAValueProfile.cpp
index fa903f8..f95cb2f 100644
--- a/Source/JavaScriptCore/bytecode/MethodOfGettingAValueProfile.cpp
+++ b/Source/JavaScriptCore/bytecode/MethodOfGettingAValueProfile.cpp
@@ -31,6 +31,7 @@
#include "ArithProfile.h"
#include "CCallHelpers.h"
#include "CodeBlock.h"
+#include "JSCJSValueInlines.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/ObjectPropertyCondition.cpp b/Source/JavaScriptCore/bytecode/ObjectPropertyCondition.cpp
index 17736e3..a73721c 100644
--- a/Source/JavaScriptCore/bytecode/ObjectPropertyCondition.cpp
+++ b/Source/JavaScriptCore/bytecode/ObjectPropertyCondition.cpp
@@ -26,6 +26,7 @@
#include "config.h"
#include "ObjectPropertyCondition.h"
+#include "JSCJSValueInlines.h"
#include "TrackedReferences.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/PolyProtoAccessChain.cpp b/Source/JavaScriptCore/bytecode/PolyProtoAccessChain.cpp
index e094af2..a2e017c 100644
--- a/Source/JavaScriptCore/bytecode/PolyProtoAccessChain.cpp
+++ b/Source/JavaScriptCore/bytecode/PolyProtoAccessChain.cpp
@@ -26,7 +26,7 @@
#include "config.h"
#include "PolyProtoAccessChain.h"
-#include "JSObject.h"
+#include "JSCInlines.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp b/Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp
index 7ad757f..e37656c 100644
--- a/Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp
+++ b/Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp
@@ -36,6 +36,7 @@
#include "Heap.h"
#include "JITOperations.h"
#include "LinkBuffer.h"
+#include "StructureInlines.h"
#include "StructureStubClearingWatchpoint.h"
#include "StructureStubInfo.h"
#include "SuperSampler.h"
diff --git a/Source/JavaScriptCore/bytecode/PreciseJumpTargets.cpp b/Source/JavaScriptCore/bytecode/PreciseJumpTargets.cpp
index 4f69728..d2e8506 100644
--- a/Source/JavaScriptCore/bytecode/PreciseJumpTargets.cpp
+++ b/Source/JavaScriptCore/bytecode/PreciseJumpTargets.cpp
@@ -26,6 +26,7 @@
#include "config.h"
#include "PreciseJumpTargets.h"
+#include "JSCJSValueInlines.h"
#include "PreciseJumpTargetsInlines.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/PropertyCondition.cpp b/Source/JavaScriptCore/bytecode/PropertyCondition.cpp
index 9f08984..3e78333 100644
--- a/Source/JavaScriptCore/bytecode/PropertyCondition.cpp
+++ b/Source/JavaScriptCore/bytecode/PropertyCondition.cpp
@@ -27,6 +27,7 @@
#include "PropertyCondition.h"
#include "GetterSetter.h"
+#include "JSCInlines.h"
#include "TrackedReferences.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/PutByIdVariant.cpp b/Source/JavaScriptCore/bytecode/PutByIdVariant.cpp
index f8017c7..6fdad84 100644
--- a/Source/JavaScriptCore/bytecode/PutByIdVariant.cpp
+++ b/Source/JavaScriptCore/bytecode/PutByIdVariant.cpp
@@ -27,6 +27,7 @@
#include "PutByIdVariant.h"
#include "CallLinkStatus.h"
+#include "HeapInlines.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/StructureSet.cpp b/Source/JavaScriptCore/bytecode/StructureSet.cpp
index ff1d343..247c232 100644
--- a/Source/JavaScriptCore/bytecode/StructureSet.cpp
+++ b/Source/JavaScriptCore/bytecode/StructureSet.cpp
@@ -26,6 +26,7 @@
#include "config.h"
#include "StructureSet.h"
+#include "HeapInlines.h"
#include <wtf/CommaPrinter.h>
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/StructureStubClearingWatchpoint.cpp b/Source/JavaScriptCore/bytecode/StructureStubClearingWatchpoint.cpp
index dcbf76a..c7256cc 100644
--- a/Source/JavaScriptCore/bytecode/StructureStubClearingWatchpoint.cpp
+++ b/Source/JavaScriptCore/bytecode/StructureStubClearingWatchpoint.cpp
@@ -29,6 +29,7 @@
#if ENABLE(JIT)
#include "CodeBlock.h"
+#include "JSCellInlines.h"
#include "StructureStubInfo.h"
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/TrackedReferences.cpp b/Source/JavaScriptCore/bytecode/TrackedReferences.cpp
index 88b0793..7ecfe45 100644
--- a/Source/JavaScriptCore/bytecode/TrackedReferences.cpp
+++ b/Source/JavaScriptCore/bytecode/TrackedReferences.cpp
@@ -26,6 +26,7 @@
#include "config.h"
#include "TrackedReferences.h"
+#include "JSCJSValueInlines.h"
#include <wtf/CommaPrinter.h>
namespace JSC {
diff --git a/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp b/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp
index 0f48b762..b3adc0b 100644
--- a/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp
+++ b/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp
@@ -32,8 +32,7 @@
#include "ClassInfo.h"
#include "ExecutableInfo.h"
#include "InstructionStream.h"
-#include "SlotVisitorInlines.h"
-#include "Structure.h"
+#include "JSCJSValueInlines.h"
#include "UnlinkedMetadataTableInlines.h"
#include <wtf/DataLog.h>
diff --git a/Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.cpp b/Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.cpp
index 8de949f..006043a 100644
--- a/Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.cpp
+++ b/Source/JavaScriptCore/bytecode/UnlinkedCodeBlockGenerator.cpp
@@ -28,6 +28,7 @@
#include "BytecodeRewriter.h"
#include "InstructionStream.h"
+#include "JSCJSValueInlines.h"
#include "PreciseJumpTargets.h"
#include "UnlinkedMetadataTableInlines.h"
diff --git a/Source/JavaScriptCore/bytecode/ValueRecovery.cpp b/Source/JavaScriptCore/bytecode/ValueRecovery.cpp
index cead6a7..e4245ea 100644
--- a/Source/JavaScriptCore/bytecode/ValueRecovery.cpp
+++ b/Source/JavaScriptCore/bytecode/ValueRecovery.cpp
@@ -26,6 +26,8 @@
#include "config.h"
#include "ValueRecovery.h"
+#include "JSCJSValueInlines.h"
+
namespace JSC {
JSValue ValueRecovery::recover(CallFrame* callFrame) const
diff --git a/Source/JavaScriptCore/bytecode/Watchpoint.cpp b/Source/JavaScriptCore/bytecode/Watchpoint.cpp
index c20eeea..33db05f 100644
--- a/Source/JavaScriptCore/bytecode/Watchpoint.cpp
+++ b/Source/JavaScriptCore/bytecode/Watchpoint.cpp
@@ -30,6 +30,7 @@
#include "CodeBlockJettisoningWatchpoint.h"
#include "DFGAdaptiveStructureWatchpoint.h"
#include "FunctionRareData.h"
+#include "HeapInlines.h"
#include "LLIntPrototypeLoadAdaptiveStructureWatchpoint.h"
#include "ObjectToStringAdaptiveStructureWatchpoint.h"
#include "StructureStubClearingWatchpoint.h"