[webkit-changes] [WebKit/WebKit] 362f9f: [JSC] Rename DisallowGC to AssertNoGC
Yusuke Suzuki
noreply at github.com
Thu Feb 20 17:21:39 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 362f9fb7940ba6207a56bc172c2c1cc054964da2
https://github.com/WebKit/WebKit/commit/362f9fb7940ba6207a56bc172c2c1cc054964da2
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2025-02-20 (Thu, 20 Feb 2025)
Changed paths:
M Source/JavaScriptCore/bytecode/RepatchInlines.h
M Source/JavaScriptCore/bytecode/StructureStubInfo.h
M Source/JavaScriptCore/heap/DeferGC.cpp
M Source/JavaScriptCore/heap/DeferGC.h
M Source/JavaScriptCore/heap/Heap.cpp
M Source/JavaScriptCore/interpreter/Interpreter.cpp
M Source/JavaScriptCore/jit/JITThunks.cpp
M Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
M Source/JavaScriptCore/runtime/ConcurrentJSLock.h
M Source/JavaScriptCore/runtime/InitializeThreading.cpp
M Source/JavaScriptCore/runtime/JSArray.cpp
M Source/JavaScriptCore/runtime/JSBoundFunction.cpp
M Source/JavaScriptCore/runtime/JSCellInlines.h
M Source/JavaScriptCore/runtime/JSFunction.cpp
M Source/JavaScriptCore/runtime/JSObject.cpp
M Source/JavaScriptCore/runtime/ObjectInitializationScope.cpp
M Source/JavaScriptCore/runtime/ObjectInitializationScope.h
M Source/JavaScriptCore/runtime/StringReplaceCacheInlines.h
M Source/JavaScriptCore/runtime/StringSplitCacheInlines.h
M Source/JavaScriptCore/runtime/WeakGCMap.h
M Source/JavaScriptCore/runtime/WeakGCSet.h
M Source/JavaScriptCore/runtime/WeakMapImpl.cpp
M Source/JavaScriptCore/runtime/WeakMapImpl.h
M Source/JavaScriptCore/runtime/WeakMapImplInlines.h
M Source/JavaScriptCore/runtime/WeakMapPrototype.cpp
Log Message:
-----------
[JSC] Rename DisallowGC to AssertNoGC
https://bugs.webkit.org/show_bug.cgi?id=288160
rdar://145254502
Reviewed by Yijia Huang.
Saying "Assert" is more clear naming.
* Source/JavaScriptCore/bytecode/RepatchInlines.h:
(JSC::handleHostCall):
* Source/JavaScriptCore/bytecode/StructureStubInfo.h:
(JSC::StructureStubInfo::considerRepatchingCacheImpl):
* Source/JavaScriptCore/heap/DeferGC.cpp:
* Source/JavaScriptCore/heap/DeferGC.h:
(JSC::AssertNoGC::AssertNoGC):
(JSC::DisallowGC::initialize): Deleted.
(JSC::DisallowGC::scopeReentryCount): Deleted.
(JSC::DisallowGC::setScopeReentryCount): Deleted.
(JSC::DisallowGC::DisallowGC): Deleted.
* Source/JavaScriptCore/heap/Heap.cpp:
(JSC::Heap::collectIfNecessaryOrDefer):
* Source/JavaScriptCore/interpreter/Interpreter.cpp:
(JSC::Interpreter::getStackTrace):
(JSC::Interpreter::executeProgram):
(JSC::Interpreter::executeCallImpl):
(JSC::Interpreter::executeConstruct):
(JSC::Interpreter::executeEval):
(JSC::Interpreter::executeModuleProgram):
* Source/JavaScriptCore/jit/JITThunks.cpp:
(JSC::JITThunks::finalize):
(JSC::JITThunks::hostFunctionStub):
* Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:
(JSC::LLInt::handleHostCall):
(JSC::LLInt::commonCallDirectEval):
* Source/JavaScriptCore/runtime/ConcurrentJSLock.h:
(JSC::ConcurrentJSLocker::ConcurrentJSLocker):
* Source/JavaScriptCore/runtime/InitializeThreading.cpp:
(JSC::initialize):
* Source/JavaScriptCore/runtime/JSArray.cpp:
(JSC::JSArray::shiftCountWithArrayStorage):
* Source/JavaScriptCore/runtime/JSBoundFunction.cpp:
(JSC::JSBoundFunction::nameStringWithoutGCSlow):
* Source/JavaScriptCore/runtime/JSCellInlines.h:
(JSC::tryAllocateCellHelper):
* Source/JavaScriptCore/runtime/JSFunction.cpp:
(JSC::JSFunction::nameWithoutGC):
* Source/JavaScriptCore/runtime/JSObject.cpp:
(JSC::JSObject::ensureLengthSlow):
* Source/JavaScriptCore/runtime/ObjectInitializationScope.cpp:
(JSC::ObjectInitializationScope::notifyAllocated):
(JSC::ObjectInitializationScope::notifyInitialized):
* Source/JavaScriptCore/runtime/ObjectInitializationScope.h:
* Source/JavaScriptCore/runtime/StringReplaceCacheInlines.h:
(JSC::StringReplaceCache::get):
(JSC::StringReplaceCache::set):
* Source/JavaScriptCore/runtime/StringSplitCacheInlines.h:
(JSC::StringSplitCache::get):
(JSC::StringSplitCache::set):
* Source/JavaScriptCore/runtime/WeakGCMap.h:
* Source/JavaScriptCore/runtime/WeakGCSet.h:
* Source/JavaScriptCore/runtime/WeakMapImpl.cpp:
(JSC::WeakMapImpl<WeakMapBucket>::takeSnapshotInternal):
* Source/JavaScriptCore/runtime/WeakMapImpl.h:
(JSC::WeakMapImpl::get):
(JSC::WeakMapImpl::has):
(JSC::WeakMapImpl::remove):
* Source/JavaScriptCore/runtime/WeakMapImplInlines.h:
(JSC::WeakMapImpl<WeakMapBucket>::add):
* Source/JavaScriptCore/runtime/WeakMapPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/290764@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