Summary: | Regexp matching should incur less call overhead | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> | ||||||||
Component: | JavaScriptCore | Assignee: | Filip Pizlo <fpizlo> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, keith_miller, mark.lam, msaboff, saam | ||||||||
Priority: | P2 | ||||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Description
Filip Pizlo
2016-03-08 11:58:13 PST
Created attachment 273310 [details]
work in progress
Created attachment 273313 [details]
the patch
Attachment 273313 [details] did not pass style-queue:
ERROR: Source/JavaScriptCore/runtime/RegExpObjectInlines.h:29: Alphabetical sorting problem. [build/include_order] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:26: Alphabetical sorting problem. [build/include_order] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:186: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:187: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:199: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:200: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:201: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:203: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
Total errors found: 8 in 11 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 273313 [details]
the patch
r=me
Created attachment 273316 [details]
patch for landing
Includes a fix for one of the Mozilla tests. It was a typo in handling lastIndex.
Attachment 273316 [details] did not pass style-queue:
ERROR: Source/JavaScriptCore/runtime/RegExpObjectInlines.h:29: Alphabetical sorting problem. [build/include_order] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:26: Alphabetical sorting problem. [build/include_order] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:186: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:187: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:199: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:200: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:201: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
ERROR: Source/JavaScriptCore/runtime/RegExpInlines.h:203: Wrong number of spaces before statement. (expected: 16) [whitespace/indent] [4]
Total errors found: 8 in 11 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Landed in http://trac.webkit.org/changeset/197796 |