-
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.
Avoid JIT compilation for simple attribute-only exact matching
https://bugs.webkit.org/show_bug.cgi?id=267616 rdar://121082724 Reviewed by Ryosuke Niwa. To reduce machine code size, we add a path which handles very simple attribute-only exact matching, which can avoid code generation for that patterns. * Source/WebCore/dom/SelectorQuery.cpp: (WebCore::isSingleAttributeExactSelector): (WebCore::canOptimizeSingleAttributeExactMatch): (WebCore::SelectorDataList::SelectorDataList): (WebCore::SelectorDataList::executeSingleAttributeExactSelectorData const): (WebCore::SelectorDataList::execute const): * Source/WebCore/dom/SelectorQuery.h: Canonical link: https://commits.webkit.org/273157@main
- Loading branch information
1 parent
ba9ec2f
commit a2cc914
Showing
2 changed files
with
77 additions
and
0 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