[webkit-changes] [WebKit/WebKit] 7031a9: OBJECT_OFFSETOF can be constexpr

Keith Miller noreply at github.com
Thu May 23 08:09:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7031a92238c3270b0db68337921a5b30d5965e91
      https://github.com/WebKit/WebKit/commit/7031a92238c3270b0db68337921a5b30d5965e91
  Author: Keith Miller <keith_miller at apple.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
    M Source/JavaScriptCore/bytecode/ArrayProfile.h
    M Source/JavaScriptCore/bytecode/CallLinkInfo.h
    M Source/JavaScriptCore/bytecode/CallLinkInfoBase.h
    M Source/JavaScriptCore/bytecode/CodeBlock.h
    M Source/JavaScriptCore/bytecode/GetByIdMetadata.h
    M Source/JavaScriptCore/bytecode/InlineCacheCompiler.h
    M Source/JavaScriptCore/bytecode/IterationModeMetadata.h
    M Source/JavaScriptCore/bytecode/ObjectAllocationProfile.h
    M Source/JavaScriptCore/bytecode/StructureStubInfo.h
    M Source/JavaScriptCore/bytecode/ValueProfile.h
    M Source/JavaScriptCore/bytecode/Watchpoint.h
    M Source/JavaScriptCore/dfg/DFGCommonData.h
    M Source/JavaScriptCore/dfg/DFGJITCode.h
    M Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
    M Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp
    M Source/JavaScriptCore/ftl/FTLJITCode.h
    M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
    M Source/JavaScriptCore/generator/Metadata.rb
    M Source/JavaScriptCore/heap/CompleteSubspace.h
    M Source/JavaScriptCore/heap/FreeList.h
    M Source/JavaScriptCore/heap/LocalAllocator.h
    M Source/JavaScriptCore/heap/MarkedBlock.h
    M Source/JavaScriptCore/heap/PreciseAllocation.h
    M Source/JavaScriptCore/heap/TinyBloomFilter.h
    M Source/JavaScriptCore/heap/WeakImpl.h
    M Source/JavaScriptCore/heap/WeakSet.h
    M Source/JavaScriptCore/interpreter/CallFrame.h
    M Source/JavaScriptCore/jit/AssemblyHelpers.cpp
    M Source/JavaScriptCore/jit/BaselineJITCode.h
    M Source/JavaScriptCore/jit/JIT.cpp
    M Source/JavaScriptCore/jit/JITCode.h
    M Source/JavaScriptCore/jit/ThunkGenerators.cpp
    M Source/JavaScriptCore/llint/LLIntData.cpp
    M Source/JavaScriptCore/runtime/ArrayBuffer.h
    M Source/JavaScriptCore/runtime/ArrayStorage.h
    M Source/JavaScriptCore/runtime/BufferMemoryHandle.h
    M Source/JavaScriptCore/runtime/Butterfly.h
    M Source/JavaScriptCore/runtime/CachedTypes.cpp
    M Source/JavaScriptCore/runtime/CachedTypes.h
    M Source/JavaScriptCore/runtime/ClassInfo.h
    M Source/JavaScriptCore/runtime/ClonedArguments.h
    M Source/JavaScriptCore/runtime/DateInstance.h
    M Source/JavaScriptCore/runtime/DateInstanceCache.h
    M Source/JavaScriptCore/runtime/DirectArguments.h
    M Source/JavaScriptCore/runtime/Exception.h
    M Source/JavaScriptCore/runtime/ExecutableBase.h
    M Source/JavaScriptCore/runtime/FunctionExecutable.h
    M Source/JavaScriptCore/runtime/GetterSetter.h
    M Source/JavaScriptCore/runtime/HasOwnPropertyCache.h
    M Source/JavaScriptCore/runtime/HashMapImpl.h
    M Source/JavaScriptCore/runtime/IndexingHeader.h
    M Source/JavaScriptCore/runtime/InternalFunction.h
    M Source/JavaScriptCore/runtime/JSArrayBufferView.h
    M Source/JavaScriptCore/runtime/JSBoundFunction.h
    M Source/JavaScriptCore/runtime/JSCJSValue.h
    M Source/JavaScriptCore/runtime/JSCell.h
    M Source/JavaScriptCore/runtime/JSDataView.h
    M Source/JavaScriptCore/runtime/JSGlobalObject.h
    M Source/JavaScriptCore/runtime/JSGlobalProxy.h
    M Source/JavaScriptCore/runtime/JSImmutableButterfly.h
    M Source/JavaScriptCore/runtime/JSInternalFieldObjectImpl.h
    M Source/JavaScriptCore/runtime/JSObject.h
    M Source/JavaScriptCore/runtime/JSPropertyNameEnumerator.h
    M Source/JavaScriptCore/runtime/JSRemoteFunction.h
    M Source/JavaScriptCore/runtime/JSString.h
    M Source/JavaScriptCore/runtime/JSSymbolTableObject.h
    M Source/JavaScriptCore/runtime/JSTypeInfo.h
    M Source/JavaScriptCore/runtime/JSWrapperObject.h
    M Source/JavaScriptCore/runtime/MegamorphicCache.h
    M Source/JavaScriptCore/runtime/NativeExecutable.h
    M Source/JavaScriptCore/runtime/NumericStrings.h
    M Source/JavaScriptCore/runtime/RegExpCachedResult.h
    M Source/JavaScriptCore/runtime/RegExpGlobalData.h
    M Source/JavaScriptCore/runtime/RegExpObject.h
    M Source/JavaScriptCore/runtime/ScopedArguments.h
    M Source/JavaScriptCore/runtime/ScopedArgumentsTable.h
    M Source/JavaScriptCore/runtime/Structure.h
    M Source/JavaScriptCore/runtime/StructureRareData.h
    M Source/JavaScriptCore/runtime/StructureRareDataInlines.h
    M Source/JavaScriptCore/runtime/Symbol.h
    M Source/JavaScriptCore/runtime/TypeInfoBlob.h
    M Source/JavaScriptCore/runtime/TypeProfilerLog.h
    M Source/JavaScriptCore/runtime/VM.h
    M Source/JavaScriptCore/runtime/WeakMapImpl.h
    M Source/JavaScriptCore/tools/JSDollarVM.cpp
    M Source/JavaScriptCore/wasm/WasmBBQJIT.cpp
    M Source/JavaScriptCore/wasm/WasmCallee.h
    M Source/JavaScriptCore/wasm/WasmFormat.h
    M Source/JavaScriptCore/wasm/WasmGlobal.h
    M Source/JavaScriptCore/wasm/WasmInstance.cpp
    M Source/JavaScriptCore/wasm/WasmInstance.h
    M Source/JavaScriptCore/wasm/WasmMemory.h
    M Source/JavaScriptCore/wasm/WasmTable.h
    M Source/JavaScriptCore/wasm/WasmTypeDefinition.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyArray.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyException.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyStruct.h
    M Source/JavaScriptCore/wasm/js/WebAssemblyFunctionBase.h
    M Source/JavaScriptCore/wasm/js/WebAssemblyGCObjectBase.h
    M Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.h
    M Source/JavaScriptCore/yarr/YarrMatchingContextHolder.h
    M Source/WTF/wtf/ButterflyArray.h
    M Source/WTF/wtf/CompactPointerTuple.h
    M Source/WTF/wtf/FixedVector.h
    M Source/WTF/wtf/GregorianDateTime.h
    M Source/WTF/wtf/StdLibExtras.h
    M Source/WTF/wtf/TrailingArray.h
    M Source/WTF/wtf/Vector.h
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WebCore/bindings/js/JSDOMGlobalObject.h
    M Source/WebCore/bindings/js/JSDOMWrapper.h
    M Source/WebCore/bindings/js/ScriptWrappable.h
    M Source/WebCore/dom/Attribute.h
    M Source/WebCore/dom/CharacterData.h
    M Source/WebCore/dom/ContainerNode.h
    M Source/WebCore/dom/Document.h
    M Source/WebCore/dom/Element.h
    M Source/WebCore/dom/ElementData.h
    M Source/WebCore/dom/ElementRareData.h
    M Source/WebCore/dom/Node.h
    M Source/WebCore/dom/QualifiedName.h
    M Source/WebCore/dom/SpaceSplitString.h
    M Source/WebCore/dom/TreeScope.h
    M Source/WebCore/rendering/style/RenderStyleConstants.h

  Log Message:
  -----------
  OBJECT_OFFSETOF can be constexpr
https://bugs.webkit.org/show_bug.cgi?id=274531
rdar://128547582

Reviewed by Mark Lam, Justin Michaud and Yusuke Suzuki.

As of C++17 "use of the offsetof macro is conditionally-supported" if the class is
not standard-layout. As it happens, it seems like both Clang and GCC support this
we just have to silence the warning. This allows us to make OBJECT_OFFSETOF constexpr
and allows for static_asserts that related offsets are what we expect rather than
use a runtime ASSERT.

* Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:
(JSC::MacroAssemblerCodeRef::offsetOfCodePtr):
* Source/JavaScriptCore/bytecode/ArrayProfile.h:
(JSC::ArrayProfile::offsetOfArrayProfileFlags):
(JSC::ArrayProfile::offsetOfLastSeenStructureID):
* Source/JavaScriptCore/bytecode/CallLinkInfo.h:
(JSC::CallLinkInfo::offsetOfMaxArgumentCountIncludingThisForVarargs):
(JSC::CallLinkInfo::offsetOfSlowPathCount):
(JSC::CallLinkInfo::offsetOfCallee):
(JSC::CallLinkInfo::offsetOfCodeBlock):
(JSC::CallLinkInfo::offsetOfMonomorphicCallDestination):
(JSC::CallLinkInfo::offsetOfStub):
* Source/JavaScriptCore/bytecode/CallLinkInfoBase.h:
(JSC::CallSlot::offsetOfCalleeOrExecutable):
(JSC::CallSlot::offsetOfCount):
(JSC::CallSlot::offsetOfTarget):
(JSC::CallSlot::offsetOfCodeBlock):
* Source/JavaScriptCore/bytecode/CodeBlock.h:
(JSC::CodeBlock::offsetOfNumParameters):
(JSC::CodeBlock::offsetOfJITData):
(JSC::CodeBlock::jitCodeOffset):
(JSC::CodeBlock::offsetOfArgumentValueProfiles):
(JSC::CodeBlock::offsetOfConstantsVectorBuffer):
(JSC::CodeBlock::offsetOfGlobalObject):
(JSC::CodeBlock::offsetOfJITExecuteCounter):
(JSC::CodeBlock::offsetOfJITExecutionActiveThreshold):
(JSC::CodeBlock::offsetOfJITExecutionTotalCount):
(JSC::CodeBlock::offsetOfOSRExitCounter):
(JSC::CodeBlock::offsetOfDebuggerRequests):
(JSC::CodeBlock::offsetOfShouldAlwaysBeInlined):
(JSC::CodeBlock::offsetOfMetadataTable):
(JSC::CodeBlock::offsetOfInstructionsRawPointer):
* Source/JavaScriptCore/bytecode/GetByIdMetadata.h:
(JSC::GetByIdModeMetadata::offsetOfMode):
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.h:
* Source/JavaScriptCore/bytecode/IterationModeMetadata.h:
(JSC::IterationModeMetadata::offsetOfSeenModes):
* Source/JavaScriptCore/bytecode/ObjectAllocationProfile.h:
(JSC::ObjectAllocationProfileBase::offsetOfAllocator):
(JSC::ObjectAllocationProfileBase::offsetOfStructure):
(JSC::ObjectAllocationProfileWithPrototype::offsetOfPrototype):
* Source/JavaScriptCore/bytecode/StructureStubInfo.h:
(JSC::StructureStubInfo::offsetOfByIdSelfOffset):
(JSC::StructureStubInfo::offsetOfInlineAccessBaseStructureID):
(JSC::StructureStubInfo::offsetOfCodePtr):
(JSC::StructureStubInfo::offsetOfDoneLocation):
(JSC::StructureStubInfo::offsetOfSlowPathStartLocation):
(JSC::StructureStubInfo::offsetOfSlowOperation):
(JSC::StructureStubInfo::offsetOfCountdown):
(JSC::StructureStubInfo::offsetOfCallSiteIndex):
(JSC::StructureStubInfo::offsetOfHandler):
* Source/JavaScriptCore/bytecode/ValueProfile.h:
(JSC::ValueProfile::offsetOfFirstBucket):
(JSC::ArgumentValueProfile::offsetOfFirstBucket):
* Source/JavaScriptCore/bytecode/Watchpoint.h:
(JSC::WatchpointSet::offsetOfState):
* Source/JavaScriptCore/dfg/DFGCommonData.h:
(JSC::DFG::CommonData::frameRegisterCountOffset):
* Source/JavaScriptCore/dfg/DFGJITCode.cpp:
(JSC::DFG::JITData::tryInitialize):
* Source/JavaScriptCore/dfg/DFGJITCode.h:
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compileCreateClonedArguments):
* Source/JavaScriptCore/ftl/FTLJITCode.h:
(JSC::FTL::JITCode::commonDataOffset):
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileCompareStrictEq):
* Source/JavaScriptCore/generator/Metadata.rb:
* Source/JavaScriptCore/heap/CompleteSubspace.h:
* Source/JavaScriptCore/heap/FreeList.h:
(JSC::FreeList::offsetOfNextInterval):
(JSC::FreeList::offsetOfSecret):
(JSC::FreeList::offsetOfIntervalStart):
(JSC::FreeList::offsetOfIntervalEnd):
(JSC::FreeList::offsetOfOriginalSize):
(JSC::FreeList::offsetOfCellSize):
* Source/JavaScriptCore/heap/LocalAllocator.h:
(JSC::LocalAllocator::offsetOfFreeList):
(JSC::LocalAllocator::offsetOfCellSize):
* Source/JavaScriptCore/heap/MarkedBlock.h:
(JSC::MarkedBlock::Header::offsetOfVM):
* Source/JavaScriptCore/heap/PreciseAllocation.h:
(JSC::PreciseAllocation::offsetOfWeakSet):
* Source/JavaScriptCore/heap/TinyBloomFilter.h:
(JSC::TinyBloomFilter::offsetOfBits):
* Source/JavaScriptCore/heap/WeakImpl.h:
(JSC::WeakImpl::offsetOfJSValue):
(JSC::WeakImpl::offsetOfWeakHandleOwner):
* Source/JavaScriptCore/heap/WeakSet.h:
(JSC::WeakSet::offsetOfVM):
* Source/JavaScriptCore/interpreter/CallFrame.h:
(JSC::CallFrame::callerFrameOffset):
(JSC::CallFrame::returnPCOffset):
* Source/JavaScriptCore/jit/AssemblyHelpers.cpp:
(JSC::AssemblyHelpers::emitAllocateWithNonNullAllocator):
* Source/JavaScriptCore/jit/BaselineJITCode.h:
* Source/JavaScriptCore/jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
(JSC::JIT::emitMaterializeMetadataAndConstantPoolRegisters):
(JSC::JIT::consistencyCheckGenerator):
* Source/JavaScriptCore/jit/JITCode.h:
(JSC::JITCode::offsetOfJITType):
* Source/JavaScriptCore/jit/ThunkGenerators.cpp:
(JSC::polymorphicThunkFor):
* Source/JavaScriptCore/llint/LLIntData.cpp:
(JSC::LLInt::Data::performAssertions):
* Source/JavaScriptCore/runtime/ArrayBuffer.h:
* Source/JavaScriptCore/runtime/ArrayStorage.h:
(JSC::ArrayStorage::lengthOffset):
(JSC::ArrayStorage::vectorLengthOffset):
(JSC::ArrayStorage::numValuesInVectorOffset):
(JSC::ArrayStorage::vectorOffset):
(JSC::ArrayStorage::indexBiasOffset):
(JSC::ArrayStorage::sparseMapOffset):
* Source/JavaScriptCore/runtime/BufferMemoryHandle.h:
* Source/JavaScriptCore/runtime/Butterfly.h:
(JSC::Butterfly::offsetOfIndexingHeader):
(JSC::Butterfly::offsetOfArrayBuffer):
(JSC::Butterfly::offsetOfPublicLength):
(JSC::Butterfly::offsetOfVectorLength):
(JSC::Butterfly::offsetOfPropertyStorage):
* Source/JavaScriptCore/runtime/CachedTypes.cpp:
(JSC::CachedPtrOffsets::offsetOffset):
(JSC::CachedWriteBarrierOffsets::ptrOffset):
(JSC::CachedFunctionExecutableOffsets::codeBlockForCallOffset):
(JSC::CachedFunctionExecutableOffsets::codeBlockForConstructOffset):
(JSC::CachedFunctionExecutableOffsets::metadataOffset):
* Source/JavaScriptCore/runtime/CachedTypes.h:
* Source/JavaScriptCore/runtime/ClassInfo.h:
* Source/JavaScriptCore/runtime/ClonedArguments.h:
* Source/JavaScriptCore/runtime/DateInstance.h:
* Source/JavaScriptCore/runtime/DateInstanceCache.h:
(JSC::DateInstanceData::offsetOfGregorianDateTimeCachedForMS):
(JSC::DateInstanceData::offsetOfCachedGregorianDateTime):
(JSC::DateInstanceData::offsetOfGregorianDateTimeUTCCachedForMS):
(JSC::DateInstanceData::offsetOfCachedGregorianDateTimeUTC):
* Source/JavaScriptCore/runtime/DirectArguments.h:
* Source/JavaScriptCore/runtime/Exception.h:
* Source/JavaScriptCore/runtime/ExecutableBase.h:
(JSC::ExecutableBase::offsetOfJITCodeWithArityCheckFor):
* Source/JavaScriptCore/runtime/FunctionExecutable.h:
* Source/JavaScriptCore/runtime/GetterSetter.h:
* Source/JavaScriptCore/runtime/HasOwnPropertyCache.h:
* Source/JavaScriptCore/runtime/HashMapImpl.h:
(JSC::HashMapImpl::offsetOfHead):
(JSC::HashMapImpl::offsetOfTail):
(JSC::HashMapImpl::offsetOfBuffer):
(JSC::HashMapImpl::offsetOfKeyCount):
(JSC::HashMapImpl::offsetOfDeleteCount):
(JSC::HashMapImpl::offsetOfCapacity):
* Source/JavaScriptCore/runtime/IndexingHeader.h:
(JSC::IndexingHeader::offsetOfIndexingHeader):
(JSC::IndexingHeader::offsetOfArrayBuffer):
(JSC::IndexingHeader::offsetOfPublicLength):
(JSC::IndexingHeader::offsetOfVectorLength):
* Source/JavaScriptCore/runtime/InternalFunction.h:
(JSC::InternalFunction::offsetOfNativeFunctionFor):
(JSC::InternalFunction::offsetOfGlobalObject):
* Source/JavaScriptCore/runtime/JSArrayBufferView.h:
(JSC::JSArrayBufferView::offsetOfVector):
(JSC::JSArrayBufferView::offsetOfLength):
(JSC::JSArrayBufferView::offsetOfByteOffset):
(JSC::JSArrayBufferView::offsetOfMode):
* Source/JavaScriptCore/runtime/JSBoundFunction.h:
* Source/JavaScriptCore/runtime/JSCJSValue.h:
(JSC::JSValue::offsetOfPayload):
(JSC::JSValue::offsetOfTag):
* Source/JavaScriptCore/runtime/JSCell.h:
(JSC::JSCell::structureIDOffset):
(JSC::JSCell::typeInfoFlagsOffset):
(JSC::JSCell::typeInfoTypeOffset):
(JSC::JSCell::indexingTypeAndMiscOffset):
(JSC::JSCell::cellStateOffset):
* Source/JavaScriptCore/runtime/JSDataView.h:
(JSC::JSDataView::offsetOfBuffer):
* Source/JavaScriptCore/runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::regExpGlobalDataOffset):
(JSC::JSGlobalObject::offsetOfGlobalThis):
(JSC::JSGlobalObject::offsetOfVM):
(JSC::JSGlobalObject::offsetOfGlobalLexicalEnvironment):
(JSC::JSGlobalObject::offsetOfGlobalLexicalBindingEpoch):
(JSC::JSGlobalObject::offsetOfVarInjectionWatchpoint):
(JSC::JSGlobalObject::offsetOfVarReadOnlyWatchpoint):
(JSC::JSGlobalObject::offsetOfFunctionProtoHasInstanceSymbolFunction):
(JSC::JSGlobalObject::globalLexicalBindingEpochOffset):
(JSC::JSGlobalObject::weakRandomOffset):
* Source/JavaScriptCore/runtime/JSGlobalProxy.h:
(JSC::JSGlobalProxy::targetOffset):
* Source/JavaScriptCore/runtime/JSImmutableButterfly.h:
(JSC::JSImmutableButterfly::offsetOfPublicLength):
(JSC::JSImmutableButterfly::offsetOfVectorLength):
* Source/JavaScriptCore/runtime/JSInternalFieldObjectImpl.h:
(JSC::JSInternalFieldObjectImpl::offsetOfInternalFields):
(JSC::JSInternalFieldObjectImpl::offsetOfInternalField):
* Source/JavaScriptCore/runtime/JSObject.h:
(JSC::JSObject::butterflyOffset):
* Source/JavaScriptCore/runtime/JSPropertyNameEnumerator.h:
* Source/JavaScriptCore/runtime/JSRemoteFunction.h:
* Source/JavaScriptCore/runtime/JSString.h:
(JSC::JSString::offsetOfValue):
* Source/JavaScriptCore/runtime/JSSymbolTableObject.h:
(JSC::JSSymbolTableObject::offsetOfSymbolTable):
* Source/JavaScriptCore/runtime/JSTypeInfo.h:
(JSC::TypeInfo::flagsOffset):
(JSC::TypeInfo::typeOffset):
* Source/JavaScriptCore/runtime/JSWrapperObject.h:
(JSC::JSWrapperObject::internalValueOffset):
(JSC::JSWrapperObject::internalValueCellOffset):
* Source/JavaScriptCore/runtime/MegamorphicCache.h:
(JSC::MegamorphicCache::LoadEntry::offsetOfUid):
(JSC::MegamorphicCache::LoadEntry::offsetOfStructureID):
(JSC::MegamorphicCache::LoadEntry::offsetOfEpoch):
(JSC::MegamorphicCache::LoadEntry::offsetOfOffset):
(JSC::MegamorphicCache::LoadEntry::offsetOfHolder):
(JSC::MegamorphicCache::StoreEntry::offsetOfUid):
(JSC::MegamorphicCache::StoreEntry::offsetOfOldStructureID):
(JSC::MegamorphicCache::StoreEntry::offsetOfNewStructureID):
(JSC::MegamorphicCache::StoreEntry::offsetOfEpoch):
(JSC::MegamorphicCache::StoreEntry::offsetOfOffset):
(JSC::MegamorphicCache::StoreEntry::offsetOfReallocating):
(JSC::MegamorphicCache::HasEntry::offsetOfUid):
(JSC::MegamorphicCache::HasEntry::offsetOfStructureID):
(JSC::MegamorphicCache::HasEntry::offsetOfEpoch):
(JSC::MegamorphicCache::HasEntry::offsetOfResult):
(JSC::MegamorphicCache::offsetOfLoadCachePrimaryEntries):
(JSC::MegamorphicCache::offsetOfLoadCacheSecondaryEntries):
(JSC::MegamorphicCache::offsetOfStoreCachePrimaryEntries):
(JSC::MegamorphicCache::offsetOfStoreCacheSecondaryEntries):
(JSC::MegamorphicCache::offsetOfHasCachePrimaryEntries):
(JSC::MegamorphicCache::offsetOfHasCacheSecondaryEntries):
(JSC::MegamorphicCache::offsetOfEpoch):
* Source/JavaScriptCore/runtime/NativeExecutable.h:
* Source/JavaScriptCore/runtime/NumericStrings.h:
(JSC::NumericStrings::StringWithJSString::offsetOfJSString):
* Source/JavaScriptCore/runtime/RegExpCachedResult.h:
(JSC::RegExpCachedResult::offsetOfLastRegExp):
(JSC::RegExpCachedResult::offsetOfLastInput):
(JSC::RegExpCachedResult::offsetOfResult):
(JSC::RegExpCachedResult::offsetOfReified):
* Source/JavaScriptCore/runtime/RegExpGlobalData.h:
(JSC::RegExpGlobalData::offsetOfCachedResult):
* Source/JavaScriptCore/runtime/RegExpObject.h:
* Source/JavaScriptCore/runtime/ScopedArguments.h:
* Source/JavaScriptCore/runtime/ScopedArgumentsTable.h:
* Source/JavaScriptCore/runtime/Structure.h:
(JSC::Structure::prototypeOffset):
(JSC::Structure::globalObjectOffset):
(JSC::Structure::classInfoOffset):
(JSC::Structure::outOfLineTypeFlagsOffset):
(JSC::Structure::indexingModeIncludingHistoryOffset):
(JSC::Structure::propertyTableUnsafeOffset):
(JSC::Structure::inlineCapacityOffset):
(JSC::Structure::previousOrRareDataOffset):
(JSC::Structure::bitFieldOffset):
(JSC::Structure::propertyHashOffset):
(JSC::Structure::seenPropertiesOffset):
* Source/JavaScriptCore/runtime/StructureRareData.h:
* Source/JavaScriptCore/runtime/StructureRareDataInlines.h:
(JSC::SpecialPropertyCacheEntry::offsetOfValue):
(JSC::SpecialPropertyCache::offsetOfCache):
* Source/JavaScriptCore/runtime/Symbol.h:
* Source/JavaScriptCore/runtime/TypeInfoBlob.h:
(JSC::TypeInfoBlob::indexingModeIncludingHistoryOffset):
* Source/JavaScriptCore/runtime/TypeProfilerLog.h:
(JSC::TypeProfilerLog::LogEntry::structureIDOffset):
(JSC::TypeProfilerLog::LogEntry::valueOffset):
(JSC::TypeProfilerLog::LogEntry::locationOffset):
(JSC::TypeProfilerLog::logStartOffset):
(JSC::TypeProfilerLog::currentLogEntryOffset):
* Source/JavaScriptCore/runtime/VM.h:
(JSC::VM::exceptionOffset):
(JSC::VM::callFrameForCatchOffset):
(JSC::VM::topEntryFrameOffset):
(JSC::VM::offsetOfEncodedHostCallReturnValue):
(JSC::VM::offsetOfHeapBarrierThreshold):
(JSC::VM::offsetOfHeapMutatorShouldBeFenced):
(JSC::VM::offsetOfSoftStackLimit):
* Source/JavaScriptCore/runtime/WeakMapImpl.h:
(JSC::WeakMapBucket::offsetOfKey):
(JSC::WeakMapImpl::offsetOfBuffer):
(JSC::WeakMapImpl::offsetOfCapacity):
* Source/JavaScriptCore/tools/JSDollarVM.cpp:
* Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
(JSC::Wasm::BBQJITImpl::BBQJIT::addCallIndirect):
* Source/JavaScriptCore/wasm/WasmCallee.h:
* Source/JavaScriptCore/wasm/WasmFormat.h:
(JSC::Wasm::WasmToWasmImportableFunction::offsetOfSignatureIndex):
(JSC::Wasm::WasmToWasmImportableFunction::offsetOfEntrypointLoadLocation):
(JSC::Wasm::WasmToWasmImportableFunction::offsetOfBoxedWasmCalleeLoadLocation):
(JSC::Wasm::WasmToWasmImportableFunction::offsetOfRTT):
* Source/JavaScriptCore/wasm/WasmGlobal.h:
* Source/JavaScriptCore/wasm/WasmInstance.cpp:
(JSC::Wasm::Instance::Instance):
* Source/JavaScriptCore/wasm/WasmInstance.h:
(JSC::Wasm::Instance::offsetOfOwner):
(JSC::Wasm::Instance::offsetOfVM):
(JSC::Wasm::Instance::offsetOfSoftStackLimit):
(JSC::Wasm::Instance::offsetOfGlobalObject):
(JSC::Wasm::Instance::offsetOfMemory):
(JSC::Wasm::Instance::offsetOfGlobals):
(JSC::Wasm::Instance::offsetOfCachedMemory):
(JSC::Wasm::Instance::offsetOfCachedBoundsCheckingSize):
(JSC::Wasm::Instance::offsetOfTemporaryCallFrame):
* Source/JavaScriptCore/wasm/WasmMemory.h:
* Source/JavaScriptCore/wasm/WasmTable.h:
(JSC::Wasm::Table::offsetOfLength):
* Source/JavaScriptCore/wasm/WasmTypeDefinition.h:
* Source/JavaScriptCore/wasm/js/JSWebAssemblyArray.h:
* Source/JavaScriptCore/wasm/js/JSWebAssemblyException.h:
* Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h:
* Source/JavaScriptCore/wasm/js/JSWebAssemblyStruct.h:
* Source/JavaScriptCore/wasm/js/WebAssemblyFunctionBase.h:
(JSC::WebAssemblyFunctionBase::offsetOfInstance):
(JSC::WebAssemblyFunctionBase::offsetOfSignatureIndex):
(JSC::WebAssemblyFunctionBase::offsetOfEntrypointLoadLocation):
(JSC::WebAssemblyFunctionBase::offsetOfBoxedWasmCalleeLoadLocation):
(JSC::WebAssemblyFunctionBase::offsetOfRTT):
* Source/JavaScriptCore/wasm/js/WebAssemblyGCObjectBase.h:
(JSC::WebAssemblyGCObjectBase::offsetOfRTT):
* Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.h:
* Source/JavaScriptCore/yarr/YarrMatchingContextHolder.h:
(JSC::Yarr::MatchingContextHolder::offsetOfStackLimit):
(JSC::Yarr::MatchingContextHolder::offsetOfPatternContextBuffer):
(JSC::Yarr::MatchingContextHolder::offsetOfPatternContextBufferSize):
* Source/WTF/wtf/ButterflyArray.h:
(WTF::ButterflyArray::offsetOfLeadingSize):
(WTF::ButterflyArray::offsetOfTrailingSize):
* Source/WTF/wtf/CompactPointerTuple.h:
* Source/WTF/wtf/FixedVector.h:
(WTF::FixedVector::offsetOfStorage):
* Source/WTF/wtf/GregorianDateTime.h:
* Source/WTF/wtf/StdLibExtras.h:
* Source/WTF/wtf/TrailingArray.h:
(WTF::TrailingArray::offsetOfSize):
* Source/WTF/wtf/Vector.h:
(WTF::VectorBufferBase::bufferMemoryOffset):
(WTF::Vector::sizeMemoryOffset):
(WTF::Vector::dataMemoryOffset):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::StringImpl::lengthMemoryOffset):
* Source/WebCore/bindings/js/JSDOMGlobalObject.h:
* Source/WebCore/bindings/js/JSDOMWrapper.h:
(WebCore::JSDOMWrapper::offsetOfWrapped):
* Source/WebCore/bindings/js/ScriptWrappable.h:
(WebCore::ScriptWrappable::offsetOfWrapper):
* Source/WebCore/dom/Attribute.h:
(WebCore::Attribute::valueMemoryOffset):
(WebCore::Attribute::nameMemoryOffset):
* Source/WebCore/dom/CharacterData.h:
(WebCore::CharacterData::dataMemoryOffset):
* Source/WebCore/dom/ContainerNode.h:
(WebCore::ContainerNode::firstChildMemoryOffset):
(WebCore::ContainerNode::lastChildMemoryOffset):
* Source/WebCore/dom/Document.h:
(WebCore::Document::documentElementMemoryOffset):
(WebCore::Document::documentClassesMemoryOffset):
(WebCore::Document::compatibilityModeMemoryOffset):
* Source/WebCore/dom/Element.h:
(WebCore::Element::tagQNameMemoryOffset):
(WebCore::Element::elementDataMemoryOffset):
* Source/WebCore/dom/ElementData.h:
(WebCore::ElementData::classNamesMemoryOffset):
(WebCore::ElementData::idForStyleResolutionMemoryOffset):
(WebCore::ElementData::arraySizeAndFlagsMemoryOffset):
(WebCore::ShareableElementData::attributeArrayMemoryOffset):
(WebCore::UniqueElementData::attributeVectorMemoryOffset):
* Source/WebCore/dom/ElementRareData.h:
(WebCore::ElementRareData::childIndexMemoryOffset):
* Source/WebCore/dom/Node.h:
(WebCore::Node::parentNodeMemoryOffset):
(WebCore::Node::previousSiblingMemoryOffset):
(WebCore::Node::nextSiblingMemoryOffset):
(WebCore::Node::treeScopeMemoryOffset):
(WebCore::Node::typeFlagsMemoryOffset):
(WebCore::Node::stateFlagsMemoryOffset):
(WebCore::Node::rareDataMemoryOffset):
* Source/WebCore/dom/QualifiedName.h:
(WebCore::QualifiedName::QualifiedNameImpl::namespaceMemoryOffset):
(WebCore::QualifiedName::QualifiedNameImpl::nodeNameMemoryOffset):
(WebCore::QualifiedName::QualifiedNameImpl::localNameMemoryOffset):
(WebCore::QualifiedName::QualifiedNameImpl::namespaceURIMemoryOffset):
(WebCore::QualifiedName::implMemoryOffset):
* Source/WebCore/dom/SpaceSplitString.h:
(WebCore::SpaceSplitStringData::sizeMemoryOffset):
(WebCore::SpaceSplitStringData::tokensMemoryOffset):
* Source/WebCore/dom/TreeScope.h:
(WebCore::TreeScope::documentScopeMemoryOffset):
* Source/WebCore/rendering/style/RenderStyleConstants.h:
(WebCore::PseudoIdSet::dataMemoryOffset):

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



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


More information about the webkit-changes mailing list