[webkit-changes] [WebKit/WebKit] 89d48d: [JSC] Use ObjectIdentifier for Profiler::UID
Yusuke Suzuki
noreply at github.com
Sun Sep 22 21:27:46 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 89d48d633c194db2178986e5038a3256a3022251
https://github.com/WebKit/WebKit/commit/89d48d633c194db2178986e5038a3256a3022251
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-09-22 (Sun, 22 Sep 2024)
Changed paths:
M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
M Source/JavaScriptCore/Sources.txt
M Source/JavaScriptCore/profiler/ProfilerCompilation.cpp
M Source/JavaScriptCore/profiler/ProfilerDatabase.cpp
M Source/JavaScriptCore/profiler/ProfilerDatabase.h
M Source/JavaScriptCore/profiler/ProfilerEvent.cpp
R Source/JavaScriptCore/profiler/ProfilerUID.cpp
M Source/JavaScriptCore/profiler/ProfilerUID.h
M Source/WTF/wtf/ObjectIdentifier.cpp
M Source/WTF/wtf/ObjectIdentifier.h
Log Message:
-----------
[JSC] Use ObjectIdentifier for Profiler::UID
https://bugs.webkit.org/show_bug.cgi?id=280137
rdar://136437632
Reviewed by Yijia Huang.
Use AtomicObjectIdentifier for Profiler::UID and Profiler::Database's ID.
* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
* Source/JavaScriptCore/Sources.txt:
* Source/JavaScriptCore/profiler/ProfilerCompilation.cpp:
(JSC::Profiler::Compilation::Compilation):
(JSC::Profiler::Compilation::toJSON const):
* Source/JavaScriptCore/profiler/ProfilerEvent.cpp:
(JSC::Profiler::Event::toJSON const):
* Source/JavaScriptCore/profiler/ProfilerUID.cpp: Removed.
* Source/JavaScriptCore/profiler/ProfilerUID.h:
(JSC::Profiler::UID::UID): Deleted.
(JSC::Profiler::UID::fromInt): Deleted.
(JSC::Profiler::UID::toInt const): Deleted.
(JSC::Profiler::UID::operator bool const): Deleted.
(JSC::Profiler::UID::isHashTableDeletedValue const): Deleted.
(JSC::Profiler::UID::hash const): Deleted.
(JSC::Profiler::UIDHash::hash): Deleted.
(JSC::Profiler::UIDHash::equal): Deleted.
* Source/WTF/wtf/ObjectIdentifier.cpp:
(WTF::printInternal):
* Source/WTF/wtf/ObjectIdentifier.h:
Canonical link: https://commits.webkit.org/284054@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