-
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.
https://bugs.webkit.org/show_bug.cgi?id=271625 rdar://125334427 Reviewed by Yusuke Suzuki. Moved the tracing output header generation from VM.cpp to RegExp.cpp to is same place as where the code to format the trace entries. Parameterized the formatting code to use a width value. Fixed the dumping of trace data to work in the jsc shell when processing modules. Eliminated use of snprintf() in favor of makeString() calls. Some other minor changes made as well. This code is build time enabled through ENABLE_REGEXP_TRACING, which is by default turned off. * Source/JavaScriptCore/jsc.cpp: (runJSC): * Source/JavaScriptCore/runtime/RegExp.cpp: (JSC::RegExp::printTraceHeader): (JSC::RegExp::printTraceData): * Source/JavaScriptCore/runtime/RegExp.h: * Source/JavaScriptCore/runtime/VM.cpp: (JSC::VM::dumpRegExpTrace): * Source/JavaScriptCore/runtime/VM.h: Canonical link: https://commits.webkit.org/276730@main
- Loading branch information
Showing
5 changed files
with
140 additions
and
46 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