Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d5630ce5f014d2d643c1e49c1e16c2309f3d32d4
      
https://github.com/WebKit/WebKit/commit/d5630ce5f014d2d643c1e49c1e16c2309f3d32d4
  Author: Richard Robinson <[email protected]>
  Date:   2025-12-22 (Mon, 22 Dec 2025)

  Changed paths:
    M Source/JavaScriptCore/API/JSWeakObjectMapRefInternal.h
    M Source/JavaScriptCore/API/OpaqueJSString.h
    M Source/JavaScriptCore/CMakeLists.txt
    M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
    M Source/JavaScriptCore/assembler/AbstractMacroAssembler.h
    M Source/JavaScriptCore/assembler/FastJITPermissions.h
    M Source/JavaScriptCore/assembler/MacroAssembler.h
    M Source/JavaScriptCore/assembler/MacroAssemblerARM64.h
    M Source/JavaScriptCore/assembler/MacroAssemblerHelpers.h
    M Source/JavaScriptCore/assembler/MacroAssemblerPrinter.h
    M Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h
    M Source/JavaScriptCore/assembler/OSCheck.h
    M Source/JavaScriptCore/assembler/ProbeContext.h
    M Source/JavaScriptCore/assembler/ProbeStack.h
    M Source/JavaScriptCore/assembler/SecureARM64EHashPins.h
    M Source/JavaScriptCore/assembler/SecureARM64EHashPinsInlines.h
    A Source/JavaScriptCore/assembler/TargetAssemblerDefinitions.h
    M Source/JavaScriptCore/b3/B3Common.h
    M Source/JavaScriptCore/b3/B3Compile.h
    M Source/JavaScriptCore/b3/B3Type.h
    M Source/JavaScriptCore/b3/air/AirAllocateRegistersByGraphColoring.h
    M Source/JavaScriptCore/b3/air/AirDisassembler.h
    M Source/JavaScriptCore/bytecode/CodeBlockHash.h
    M Source/JavaScriptCore/bytecode/CodeOrigin.h
    M Source/JavaScriptCore/bytecode/CodeType.h
    M Source/JavaScriptCore/bytecode/DFGExitProfile.h
    M Source/JavaScriptCore/bytecode/ExitingInlineKind.h
    M Source/JavaScriptCore/bytecode/LinkTimeConstant.h
    M Source/JavaScriptCore/bytecode/OpcodeSize.h
    M Source/JavaScriptCore/bytecode/SourceID.h
    M Source/JavaScriptCore/bytecode/SuperSampler.h
    M Source/JavaScriptCore/bytecode/Watchpoint.h
    M Source/JavaScriptCore/debugger/Breakpoint.h
    M Source/JavaScriptCore/dfg/DFGCodeOriginPool.h
    M Source/JavaScriptCore/dfg/DFGCommon.h
    M Source/JavaScriptCore/dfg/DFGDoesGCCheck.h
    M Source/JavaScriptCore/domjit/DOMJITCallDOMGetterSnippet.h
    M Source/JavaScriptCore/domjit/DOMJITHeapRange.h
    M Source/JavaScriptCore/ftl/FTLAbbreviatedTypes.h
    M Source/JavaScriptCore/ftl/FTLExitArgument.h
    M Source/JavaScriptCore/ftl/FTLLocation.h
    M Source/JavaScriptCore/ftl/FTLRecoveryOpcode.h
    M Source/JavaScriptCore/ftl/FTLSaveRestore.h
    M Source/JavaScriptCore/ftl/FTLSlowPathCallKey.h
    M Source/JavaScriptCore/heap/Allocator.h
    M Source/JavaScriptCore/heap/CollectionScope.h
    M Source/JavaScriptCore/heap/CollectorPhase.h
    M Source/JavaScriptCore/heap/DeferGC.h
    M Source/JavaScriptCore/heap/DestructionMode.h
    M Source/JavaScriptCore/heap/FreeList.h
    M Source/JavaScriptCore/heap/GCConductor.h
    M Source/JavaScriptCore/heap/GCIncomingRefCountedSet.h
    M Source/JavaScriptCore/heap/GCSegmentedArray.h
    M Source/JavaScriptCore/heap/HandleBlock.h
    M Source/JavaScriptCore/heap/HeapCell.h
    M Source/JavaScriptCore/heap/IsoSubspaceInlines.h
    M Source/JavaScriptCore/heap/MutatorState.h
    M Source/JavaScriptCore/heap/Synchronousness.h
    M Source/JavaScriptCore/heap/WeakInlines.h
    M Source/JavaScriptCore/inspector/augmentable/AlternateDispatchableAgent.h
    M 
Source/JavaScriptCore/inspector/augmentable/AugmentableInspectorController.h
    M Source/JavaScriptCore/interpreter/CLoopStack.h
    M Source/JavaScriptCore/interpreter/CLoopStackInlines.h
    M Source/JavaScriptCore/interpreter/Interpreter.h
    M Source/JavaScriptCore/interpreter/ProtoCallFrame.h
    M Source/JavaScriptCore/jit/AssemblyHelpers.h
    M Source/JavaScriptCore/jit/AssemblyHelpersSpoolers.h
    M Source/JavaScriptCore/jit/BaselineJITRegisters.h
    M Source/JavaScriptCore/jit/BinarySwitch.h
    M Source/JavaScriptCore/jit/CCallHelpers.h
    M Source/JavaScriptCore/jit/CallFrameShuffleData.h
    M Source/JavaScriptCore/jit/FPRInfo.h
    M Source/JavaScriptCore/jit/GPRInfo.h
    M Source/JavaScriptCore/jit/GdbJIT.h
    M Source/JavaScriptCore/jit/JITAllocator.h
    M Source/JavaScriptCore/jit/JITCodeMap.h
    M Source/JavaScriptCore/jit/JITCompilation.h
    M Source/JavaScriptCore/jit/JITMathICForwards.h
    M Source/JavaScriptCore/jit/JITOperations.h
    M Source/JavaScriptCore/jit/Reg.h
    M Source/JavaScriptCore/jit/RegisterAtOffset.h
    M Source/JavaScriptCore/jit/RegisterAtOffsetList.h
    M Source/JavaScriptCore/jit/RegisterMap.h
    M Source/JavaScriptCore/jit/RegisterSet.h
    M Source/JavaScriptCore/jit/SIMDInfo.h
    M Source/JavaScriptCore/jit/ScratchRegisterAllocator.h
    M Source/JavaScriptCore/jit/Snippet.h
    M Source/JavaScriptCore/jit/ThunkGenerator.h
    M Source/JavaScriptCore/llint/LLIntOpcode.h
    M Source/JavaScriptCore/parser/ParserTokens.h
    M Source/JavaScriptCore/parser/ResultType.h
    M Source/JavaScriptCore/parser/SourceTaintedOrigin.h
    M Source/JavaScriptCore/runtime/ArityCheckMode.h
    M Source/JavaScriptCore/runtime/CodeSpecializationKind.h
    M Source/JavaScriptCore/runtime/ConstructAbility.h
    M Source/JavaScriptCore/runtime/ConstructorKind.h
    M Source/JavaScriptCore/runtime/ECMAMode.h
    M Source/JavaScriptCore/runtime/EnsureStillAliveHere.h
    M Source/JavaScriptCore/runtime/EnumerationMode.h
    M Source/JavaScriptCore/runtime/Gate.h
    M Source/JavaScriptCore/runtime/ImplementationVisibility.h
    M Source/JavaScriptCore/runtime/IndexingType.h
    M Source/JavaScriptCore/runtime/InlineAttribute.h
    M Source/JavaScriptCore/runtime/IterationKind.h
    M Source/JavaScriptCore/runtime/JSDateMath.h
    M Source/JavaScriptCore/runtime/JSGlobalObject.h
    M Source/JavaScriptCore/runtime/JSLock.h
    M Source/JavaScriptCore/runtime/JSRunLoopTimer.h
    M Source/JavaScriptCore/runtime/JSType.h
    M Source/JavaScriptCore/runtime/JSTypeInfo.h
    M Source/JavaScriptCore/runtime/KeyAtomStringCache.h
    M Source/JavaScriptCore/runtime/MemoryMode.h
    M Source/JavaScriptCore/runtime/MicrotaskQueue.h
    M Source/JavaScriptCore/runtime/ModuleProgramExecutable.h
    M Source/JavaScriptCore/runtime/NumericStrings.h
    M Source/JavaScriptCore/runtime/PrivateFieldPutKind.h
    M Source/JavaScriptCore/runtime/PropertyNameArray.h
    M Source/JavaScriptCore/runtime/ResourceExhaustion.h
    M Source/JavaScriptCore/runtime/SmallStrings.h
    M Source/JavaScriptCore/runtime/StopTheWorldCallback.h
    M Source/JavaScriptCore/runtime/StringSplitCache.h
    M Source/JavaScriptCore/runtime/StructureRareDataInlines.h
    M Source/JavaScriptCore/runtime/StructureTransitionTable.h
    M Source/JavaScriptCore/runtime/TypedArrayType.h
    M Source/JavaScriptCore/runtime/VMTraps.h
    M Source/JavaScriptCore/wasm/WasmCalleeGroup.h
    M Source/JavaScriptCore/wasm/WasmContext.h
    M Source/JavaScriptCore/wasm/WasmCreationMode.h
    M Source/JavaScriptCore/wasm/WasmInstanceAnchor.h
    M Source/JavaScriptCore/wasm/WasmModule.h
    M Source/JavaScriptCore/wasm/WasmTypeDefinition.h
    M Source/JavaScriptCore/wasm/debugger/WasmDebugServerUtilities.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyGlobal.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyMemory.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyTable.h
    M Source/JavaScriptCore/wasm/js/WebAssemblyFunction.h
    M Source/JavaScriptCore/yarr/Yarr.h
    M Source/JavaScriptCore/yarr/YarrErrorCode.h
    M Source/JavaScriptCore/yarr/YarrFlags.h
    M Source/JavaScriptCore/yarr/YarrJIT.h
    M Source/JavaScriptCore/yarr/YarrUnicodeProperties.h

  Log Message:
  -----------
  [Swift in WebKit] Work towards having a proper JSC module (part 1)
https://bugs.webkit.org/show_bug.cgi?id=304589
rdar://167004331

Reviewed by Marcus Plutowski.

Work towards being able to properly verify JSC modularization.

* <a lot of files>

Add missing header includes.

* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
* Source/JavaScriptCore/assembler/AbstractMacroAssembler.h:
* Source/JavaScriptCore/assembler/MacroAssembler.h:
* Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:
* Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h:
* Source/JavaScriptCore/assembler/TargetAssemblerDefinitions.h: Added.

The way `TARGET_ASSEMBLER` was being used was ill-formed with modules, since it 
was depending on "outside"
context, and modules require that all headers be self-contained. Fix this by 
refactoring the definitions
into a different file, and then including that.

Canonical link: https://commits.webkit.org/304877@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to