-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Rename MegamorphicCache's load related fields
https://bugs.webkit.org/show_bug.cgi?id=269811 rdar://123333247 Reviewed by Keith Miller and Michael Saboff. Let's rename Load related MegamorphicCache fields to explicitly say "Load". Previously, it didn't since MegamorphicCache implementation started with Load only. And eventually it gets expanded. * Source/JavaScriptCore/jit/AssemblyHelpers.cpp: (JSC::AssemblyHelpers::loadMegamorphicProperty): * Source/JavaScriptCore/runtime/MegamorphicCache.cpp: (JSC::MegamorphicCache::age): (JSC::MegamorphicCache::clearEntries): * 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::offsetOfLoadCachePrimaryEntries): (JSC::MegamorphicCache::offsetOfLoadCacheSecondaryEntries): (JSC::MegamorphicCache::initAsMiss): (JSC::MegamorphicCache::initAsHit): (JSC::MegamorphicCache::Entry::offsetOfUid): Deleted. (JSC::MegamorphicCache::Entry::offsetOfStructureID): Deleted. (JSC::MegamorphicCache::Entry::offsetOfEpoch): Deleted. (JSC::MegamorphicCache::Entry::offsetOfOffset): Deleted. (JSC::MegamorphicCache::Entry::offsetOfHolder): Deleted. (JSC::MegamorphicCache::Entry::initAsMiss): Deleted. (JSC::MegamorphicCache::Entry::initAsHit): Deleted. (JSC::MegamorphicCache::offsetOfPrimaryEntries): Deleted. (JSC::MegamorphicCache::offsetOfSecondaryEntries): Deleted. Canonical link: https://commits.webkit.org/275073@main
- Loading branch information
1 parent
638c7e3
commit bbcc016
Showing
3 changed files
with
50 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters