Bug 155181

Summary: Regexp matching should incur less call overhead
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: 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 Flags
work in progress
none
the patch
ggaren: review+
patch for landing none

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