Bug 155181 - Regexp matching should incur less call overhead
Summary: Regexp matching should incur less call overhead
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-08 11:58 PST by Filip Pizlo
Modified: 2016-03-08 13:15 PST (History)
5 users (show)

See Also:


Attachments
work in progress (38.23 KB, patch)
2016-03-08 11:58 PST, Filip Pizlo
no flags Details | Formatted Diff | Diff
the patch (42.81 KB, patch)
2016-03-08 12:14 PST, Filip Pizlo
ggaren: review+
Details | Formatted Diff | Diff
patch for landing (42.83 KB, patch)
2016-03-08 12:32 PST, Filip Pizlo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2016-03-08 11:58:13 PST
Patch forthcoming.
Comment 1 Filip Pizlo 2016-03-08 11:58:42 PST
Created attachment 273310 [details]
work in progress
Comment 2 Filip Pizlo 2016-03-08 12:14:22 PST
Created attachment 273313 [details]
the patch
Comment 3 WebKit Commit Bot 2016-03-08 12:16:55 PST
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 4 Geoffrey Garen 2016-03-08 12:18:25 PST
Comment on attachment 273313 [details]
the patch

r=me
Comment 5 Filip Pizlo 2016-03-08 12:32:38 PST
Created attachment 273316 [details]
patch for landing

Includes a fix for one of the Mozilla tests.  It was a typo in handling lastIndex.
Comment 6 WebKit Commit Bot 2016-03-08 12:34:55 PST
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.
Comment 7 Filip Pizlo 2016-03-08 13:15:12 PST
Landed in http://trac.webkit.org/changeset/197796