Summary: | [JSC] There should be a debug option to dump a compiled RegExp Pattern | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Michael Saboff <msaboff> | ||||||
Component: | JavaScriptCore | Assignee: | Michael Saboff <msaboff> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, buildbot, keith_miller, mark.lam, saam | ||||||
Priority: | P2 | ||||||||
Version: | Other | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Michael Saboff
2017-07-17 17:12:07 PDT
Created attachment 315736 [details]
Patch
I replaced the "U_FALLTHROUGH" that Xcode recommended with "FALLTHROUGH" in my local tree. That should fix the "jsc" build. Created attachment 315747 [details]
Updated patch - replaced U_FALLTHROUGH with FALLTHROUGH
Comment on attachment 315747 [details] Updated patch - replaced U_FALLTHROUGH with FALLTHROUGH View in context: https://bugs.webkit.org/attachment.cgi?id=315747&action=review > Source/JavaScriptCore/runtime/Options.h:435 > + v(bool, dumpCompiledRegExpPatterns, false, Normal, nullptr) \ Would it be useful to make this an option, not a compile time flag? Could you use NDEBUG instead? > Source/JavaScriptCore/yarr/YarrPattern.cpp:1004 > + extra whitespace Comment on attachment 315747 [details] Updated patch - replaced U_FALLTHROUGH with FALLTHROUGH View in context: https://bugs.webkit.org/attachment.cgi?id=315747&action=review >> Source/JavaScriptCore/runtime/Options.h:435 >> + v(bool, dumpCompiledRegExpPatterns, false, Normal, nullptr) \ > > Would it be useful to make this an option, not a compile time flag? Could you use NDEBUG instead? Not sure I follow — these are runtime options. We tend to never turn on options that print things by default in any build style. Committed r219611: <http://trac.webkit.org/changeset/219611> |