Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JSC] Clean up RegExp flag code
https://bugs.webkit.org/show_bug.cgi?id=227786 Reviewed by Filip Pizlo. I found a bug in regexpToSourceString (used for RegExp's dump code), and it motivates me to clean up all RegExp flag handling code. We define RegExp flags as a macro and updating that macro updates all RegExp flag handling code too. * runtime/RegExp.cpp: (JSC::RegExpFunctionalTestCollector::outputOneTest): (JSC::regexpToSourceString): * runtime/RegExp.h: * runtime/RegExpPrototype.cpp: (JSC::flagsString): * yarr/YarrFlags.cpp: (JSC::Yarr::parseFlags): (JSC::Yarr::flagsString): * yarr/YarrFlags.h: Canonical link: https://commits.webkit.org/239501@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
7dfba42
commit c29f5fcc67540461788b45ef396826faaa3089db
Showing
6 changed files
with
89 additions
and
125 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
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