[webkit-changes] [WebKit/WebKit] 1afd5e: [JSC] Use destroying_delete for Watchpoint
Yusuke Suzuki
noreply at github.com
Thu Sep 8 02:25:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1afd5ee3eea2282c161e15f6728e15c2c2ef877b
https://github.com/WebKit/WebKit/commit/1afd5ee3eea2282c161e15f6728e15c2c2ef877b
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2022-09-08 (Thu, 08 Sep 2022)
Changed paths:
M Source/JavaScriptCore/bytecode/CodeBlockJettisoningWatchpoint.h
M Source/JavaScriptCore/bytecode/LLIntPrototypeLoadAdaptiveStructureWatchpoint.h
M Source/JavaScriptCore/bytecode/StructureStubClearingWatchpoint.h
M Source/JavaScriptCore/bytecode/Watchpoint.cpp
M Source/JavaScriptCore/bytecode/Watchpoint.h
M Source/JavaScriptCore/dfg/DFGAdaptiveStructureWatchpoint.h
M Source/JavaScriptCore/runtime/CachedSpecialPropertyAdaptiveStructureWatchpoint.h
M Source/JavaScriptCore/runtime/FunctionRareData.h
M Source/JavaScriptCore/runtime/ObjectAdaptiveStructureWatchpoint.h
M Source/JavaScriptCore/runtime/StructureRareDataInlines.h
Log Message:
-----------
[JSC] Use destroying_delete for Watchpoint
https://bugs.webkit.org/show_bug.cgi?id=244923
Reviewed by Mark Lam.
We use C++20 destroying_delete for Watchpoint so that we do not need to have JSC_WATCHPOINT_FIELD macro etc.
* Source/JavaScriptCore/bytecode/CodeBlockJettisoningWatchpoint.h:
* Source/JavaScriptCore/bytecode/LLIntPrototypeLoadAdaptiveStructureWatchpoint.h:
* Source/JavaScriptCore/bytecode/StructureStubClearingWatchpoint.h:
* Source/JavaScriptCore/bytecode/Watchpoint.cpp:
(JSC::Watchpoint::runWithDowncast):
(JSC::Watchpoint::operator delete):
(JSC::Watchpoint::fire):
* Source/JavaScriptCore/bytecode/Watchpoint.h:
* Source/JavaScriptCore/dfg/DFGAdaptiveStructureWatchpoint.h:
* Source/JavaScriptCore/runtime/CachedSpecialPropertyAdaptiveStructureWatchpoint.h:
* Source/JavaScriptCore/runtime/FunctionRareData.h:
* Source/JavaScriptCore/runtime/ObjectAdaptiveStructureWatchpoint.h:
* Source/JavaScriptCore/runtime/StructureRareDataInlines.h:
Canonical link: https://commits.webkit.org/254265@main
More information about the webkit-changes
mailing list