Remove excessive headers from JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=173812
Reviewed by Darin Adler.
Source/JavaScriptCore:
* API/APIUtils.h:
* assembler/LinkBuffer.cpp:
* assembler/MacroAssemblerCodeRef.cpp:
* b3/air/AirLiveness.h:
* b3/air/AirLowerAfterRegAlloc.cpp:
* bindings/ScriptValue.cpp:
* bindings/ScriptValue.h:
* bytecode/AccessCase.cpp:
* bytecode/AccessCase.h:
* bytecode/ArrayProfile.h:
* bytecode/BytecodeDumper.h:
* bytecode/BytecodeIntrinsicRegistry.cpp:
* bytecode/BytecodeKills.h:
* bytecode/BytecodeLivenessAnalysis.h:
* bytecode/BytecodeUseDef.h:
* bytecode/CallLinkStatus.h:
* bytecode/CodeBlock.h:
* bytecode/CodeOrigin.h:
* bytecode/ComplexGetStatus.h:
* bytecode/GetByIdStatus.h:
* bytecode/GetByIdVariant.h:
* bytecode/InlineCallFrame.h:
* bytecode/InlineCallFrameSet.h:
* bytecode/Instruction.h:
* bytecode/InternalFunctionAllocationProfile.h:
* bytecode/JumpTable.h:
* bytecode/MethodOfGettingAValueProfile.h:
* bytecode/ObjectPropertyConditionSet.h:
* bytecode/Operands.h:
* bytecode/PolymorphicAccess.h:
* bytecode/PutByIdStatus.h:
* bytecode/SpeculatedType.cpp:
* bytecode/StructureSet.h:
* bytecode/StructureStubInfo.h:
* bytecode/UnlinkedCodeBlock.h:
* bytecode/UnlinkedFunctionExecutable.h:
* bytecode/ValueProfile.h:
* bytecompiler/BytecodeGenerator.cpp:
* bytecompiler/BytecodeGenerator.h:
* bytecompiler/Label.h:
* bytecompiler/StaticPropertyAnalysis.h:
* debugger/DebuggerCallFrame.cpp:
* dfg/DFGAbstractInterpreter.h:
* dfg/DFGAdjacencyList.h:
* dfg/DFGArgumentsUtilities.h:
* dfg/DFGArrayMode.h:
* dfg/DFGArrayifySlowPathGenerator.h:
* dfg/DFGBackwardsPropagationPhase.h:
* dfg/DFGBasicBlock.h:
* dfg/DFGCallArrayAllocatorSlowPathGenerator.h:
* dfg/DFGCallCreateDirectArgumentsSlowPathGenerator.h:
* dfg/DFGCapabilities.h:
* dfg/DFGCommon.h:
* dfg/DFGCommonData.h:
* dfg/DFGDesiredIdentifiers.h:
* dfg/DFGDesiredWatchpoints.h:
* dfg/DFGDisassembler.cpp:
* dfg/DFGDominators.h:
* dfg/DFGDriver.cpp:
* dfg/DFGDriver.h:
* dfg/DFGEdgeDominates.h:
* dfg/DFGFinalizer.h:
* dfg/DFGGenerationInfo.h:
* dfg/DFGJITCompiler.cpp:
* dfg/DFGJITCompiler.h:
* dfg/DFGJITFinalizer.h:
* dfg/DFGLivenessAnalysisPhase.h:
* dfg/DFGMinifiedNode.h:
* dfg/DFGMultiGetByOffsetData.h:
* dfg/DFGNaturalLoops.cpp:
* dfg/DFGNaturalLoops.h:
* dfg/DFGNode.h:
* dfg/DFGOSRAvailabilityAnalysisPhase.h:
* dfg/DFGOSRExit.h:
* dfg/DFGOSRExitCompilationInfo.h:
* dfg/DFGOSRExitCompiler.cpp:
* dfg/DFGOSRExitCompiler.h:
* dfg/DFGOSRExitJumpPlaceholder.h:
* dfg/DFGOperations.cpp:
* dfg/DFGOperations.h:
* dfg/DFGPlan.h:
* dfg/DFGPreciseLocalClobberize.h:
* dfg/DFGPromotedHeapLocation.h:
* dfg/DFGRegisteredStructure.h:
* dfg/DFGRegisteredStructureSet.h:
* dfg/DFGSaneStringGetByValSlowPathGenerator.h:
* dfg/DFGSlowPathGenerator.h:
* dfg/DFGSnippetParams.h:
* dfg/DFGSpeculativeJIT.h:
* dfg/DFGToFTLDeferredCompilationCallback.h:
* dfg/DFGToFTLForOSREntryDeferredCompilationCallback.h:
* dfg/DFGValidate.h:
* dfg/DFGValueSource.h:
* dfg/DFGVariableEvent.h:
* dfg/DFGVariableEventStream.h:
* dfg/DFGWorklist.h:
* domjit/DOMJITCallDOMGetterSnippet.h:
* domjit/DOMJITEffect.h:
* ftl/FTLLink.cpp:
* ftl/FTLLowerDFGToB3.cpp:
* ftl/FTLPatchpointExceptionHandle.h:
* heap/AllocatorAttributes.h:
* heap/CodeBlockSet.h:
* heap/DeferGC.h:
* heap/GCSegmentedArray.h:
* heap/Heap.cpp:
* heap/Heap.h:
* heap/IncrementalSweeper.h:
* heap/ListableHandler.h:
* heap/MachineStackMarker.h:
* heap/MarkedAllocator.h:
* heap/MarkedBlock.cpp:
* heap/MarkedBlock.h:
* heap/MarkingConstraint.h:
* heap/SlotVisitor.cpp:
* heap/SlotVisitor.h:
* inspector/ConsoleMessage.cpp:
* inspector/ConsoleMessage.h:
* inspector/InjectedScript.h:
* inspector/InjectedScriptHost.h:
* inspector/InjectedScriptManager.cpp:
* inspector/JSGlobalObjectInspectorController.cpp:
* inspector/JavaScriptCallFrame.h:
* inspector/ScriptCallStack.h:
* inspector/ScriptCallStackFactory.cpp:
* inspector/ScriptDebugServer.h:
* inspector/agents/InspectorConsoleAgent.h:
* inspector/agents/InspectorDebuggerAgent.cpp:
* inspector/agents/InspectorDebuggerAgent.h:
* inspector/agents/InspectorHeapAgent.cpp:
* inspector/agents/InspectorHeapAgent.h:
* inspector/agents/InspectorRuntimeAgent.h:
* inspector/agents/InspectorScriptProfilerAgent.cpp:
* inspector/agents/InspectorScriptProfilerAgent.h:
* inspector/agents/JSGlobalObjectConsoleAgent.h:
* inspector/agents/JSGlobalObjectDebuggerAgent.cpp:
* inspector/agents/JSGlobalObjectDebuggerAgent.h:
* inspector/agents/JSGlobalObjectRuntimeAgent.h:
* inspector/augmentable/AlternateDispatchableAgent.h:
* interpreter/CLoopStack.h:
* interpreter/CachedCall.h:
* interpreter/CallFrame.h:
* interpreter/Interpreter.cpp:
* interpreter/Interpreter.h:
* jit/AssemblyHelpers.cpp:
* jit/AssemblyHelpers.h:
* jit/CCallHelpers.h:
* jit/CallFrameShuffler.h:
* jit/ExecutableAllocator.h:
* jit/GCAwareJITStubRoutine.h:
* jit/HostCallReturnValue.h:
* jit/ICStats.h:
* jit/JIT.cpp:
* jit/JIT.h:
* jit/JITAddGenerator.h:
* jit/JITCall32_64.cpp:
* jit/JITCode.h:
* jit/JITDisassembler.cpp:
* jit/JITExceptions.cpp:
* jit/JITMathIC.h:
* jit/JITOpcodes.cpp:
* jit/JITOperations.cpp:
* jit/JITOperations.h:
* jit/JITThunks.cpp:
* jit/JITThunks.h:
* jit/JSInterfaceJIT.h:
* jit/PCToCodeOriginMap.h:
* jit/PolymorphicCallStubRoutine.h:
* jit/RegisterSet.h:
* jit/Repatch.h:
* jit/SetupVarargsFrame.h:
* jit/Snippet.h:
* jit/SnippetParams.h:
* jit/ThunkGenerators.h:
* jsc.cpp:
* llint/LLIntCLoop.h:
* llint/LLIntEntrypoint.h:
* llint/LLIntExceptions.h:
* llint/LLIntOfflineAsmConfig.h:
* llint/LLIntSlowPaths.cpp:
* parser/NodeConstructors.h:
* parser/Nodes.cpp:
* parser/Nodes.h:
* parser/Parser.cpp:
* parser/Parser.h:
* parser/ParserTokens.h:
* parser/SourceProviderCacheItem.h:
* profiler/ProfilerBytecodeSequence.h:
* profiler/ProfilerDatabase.cpp:
* profiler/ProfilerDatabase.h:
* profiler/ProfilerOrigin.h:
* profiler/ProfilerOriginStack.h:
* profiler/ProfilerProfiledBytecodes.h:
* profiler/ProfilerUID.h:
* runtime/AbstractModuleRecord.h:
* runtime/ArrayConstructor.h:
* runtime/ArrayConventions.h:
* runtime/ArrayIteratorPrototype.h:
* runtime/ArrayPrototype.h:
* runtime/BasicBlockLocation.h:
* runtime/Butterfly.h:
* runtime/CallData.cpp:
* runtime/CodeCache.h:
* runtime/CommonSlowPaths.cpp:
* runtime/CommonSlowPaths.h:
* runtime/CommonSlowPathsExceptions.cpp:
* runtime/Completion.cpp:
* runtime/ControlFlowProfiler.h:
* runtime/DateInstanceCache.h:
* runtime/ErrorConstructor.h:
* runtime/ErrorInstance.h:
* runtime/ExceptionHelpers.cpp:
* runtime/ExceptionHelpers.h:
* runtime/ExecutableBase.h:
* runtime/FunctionExecutable.h:
* runtime/HasOwnPropertyCache.h:
* runtime/Identifier.h:
* runtime/InternalFunction.h:
* runtime/IntlCollator.cpp:
* runtime/IntlCollatorPrototype.h:
* runtime/IntlDateTimeFormatPrototype.h:
* runtime/IntlNumberFormat.cpp:
* runtime/IntlNumberFormatPrototype.h:
* runtime/IteratorOperations.cpp:
* runtime/JSArray.h:
* runtime/JSArrayBufferPrototype.h:
* runtime/JSCJSValue.h:
* runtime/JSCJSValueInlines.h:
* runtime/JSCell.h:
* runtime/JSFunction.cpp:
* runtime/JSFunction.h:
* runtime/JSGenericTypedArrayViewPrototypeFunctions.h:
* runtime/JSGlobalObject.cpp:
* runtime/JSGlobalObject.h:
* runtime/JSGlobalObjectDebuggable.cpp:
* runtime/JSGlobalObjectDebuggable.h:
* runtime/JSGlobalObjectFunctions.cpp:
* runtime/JSGlobalObjectFunctions.h:
* runtime/JSJob.cpp:
* runtime/JSLock.h:
* runtime/JSModuleLoader.cpp:
* runtime/JSModuleNamespaceObject.h:
* runtime/JSModuleRecord.h:
* runtime/JSObject.cpp:
* runtime/JSObject.h:
* runtime/JSRunLoopTimer.h:
* runtime/JSTemplateRegistryKey.h:
* runtime/JSTypedArrayPrototypes.cpp:
* runtime/JSTypedArrayPrototypes.h:
* runtime/JSTypedArrays.h:
* runtime/LiteralParser.h:
* runtime/MatchResult.h:
* runtime/MemoryStatistics.h:
* runtime/PrivateName.h:
* runtime/PromiseDeferredTimer.h:
* runtime/ProxyObject.h:
* runtime/RegExp.h:
* runtime/SamplingProfiler.cpp:
* runtime/SmallStrings.h:
* runtime/StringPrototype.cpp:
* runtime/StringRecursionChecker.h:
* runtime/Structure.h:
* runtime/SymbolConstructor.h:
* runtime/SymbolPrototype.cpp:
* runtime/SymbolPrototype.h:
* runtime/TypeProfiler.h:
* runtime/TypeProfilerLog.h:
* runtime/TypedArrayType.h:
* runtime/VM.cpp:
* runtime/VM.h:
* runtime/VMEntryScope.h:
* runtime/WeakMapData.h:
* runtime/WriteBarrier.h:
* tools/FunctionOverrides.cpp:
* tools/FunctionOverrides.h:
* wasm/WasmBinding.cpp:
* wasm/js/JSWebAssemblyCodeBlock.h:
* wasm/js/WebAssemblyPrototype.cpp:
* yarr/Yarr.h:
* yarr/YarrJIT.cpp:
* yarr/YarrJIT.h:
* yarr/YarrParser.h:
Source/WebCore:
No new tests needed.
* Modules/indexeddb/IDBObjectStore.cpp:
* bindings/js/JSDOMPromiseDeferred.h:
* bindings/js/JSLazyEventListener.cpp:
* bindings/js/JSMainThreadExecState.h:
* bindings/js/ReadableStreamDefaultController.cpp:
* bindings/js/ScriptGlobalObject.cpp:
* bindings/js/SerializedScriptValue.cpp:
* bridge/NP_jsobject.cpp:
* dom/ScriptExecutionContext.cpp:
* html/HTMLPlugInImageElement.cpp:
Source/WebKit/mac:
* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
* WebView/WebView.mm:
Source/WebKit/win:
* Plugins/PluginPackage.cpp:
Source/WebKit2:
* WebProcess/Plugins/Netscape/NPJSObject.cpp:
Source/WTF:
* wtf/Bag.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@218794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/parser/SourceProviderCacheItem.h b/Source/JavaScriptCore/parser/SourceProviderCacheItem.h
index eeac6fe..d0644d2 100644
--- a/Source/JavaScriptCore/parser/SourceProviderCacheItem.h
+++ b/Source/JavaScriptCore/parser/SourceProviderCacheItem.h
@@ -25,6 +25,7 @@
#pragma once
+#include "ParserModes.h"
#include "ParserTokens.h"
#include <wtf/Vector.h>
#include <wtf/text/UniquedStringImpl.h>