Bug 89821

Summary: DFG::operationNewArray is unnecessarily slow, and may use the wrong array prototype when inlined
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
work in progress
none
the patch ggaren: review+

Description Filip Pizlo 2012-06-23 21:11:56 PDT
Due to global objects.
Comment 1 Filip Pizlo 2012-06-25 19:19:02 PDT
Created attachment 149429 [details]
work in progress
Comment 2 WebKit Review Bot 2012-06-25 19:22:14 PDT
Attachment 149429 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1
Source/JavaScriptCore/dfg/DFGOperations.h:79:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/dfg/DFGOperations.h:80:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/dfg/DFGOperations.h:81:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Total errors found: 3 in 12 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Filip Pizlo 2012-06-25 19:34:55 PDT
Created attachment 149434 [details]
the patch
Comment 4 WebKit Review Bot 2012-06-25 19:37:06 PDT
Attachment 149434 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1
Source/JavaScriptCore/dfg/DFGOperations.h:79:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/dfg/DFGOperations.h:80:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/dfg/DFGOperations.h:81:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Total errors found: 3 in 13 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Geoffrey Garen 2012-06-25 21:46:20 PDT
Comment on attachment 149434 [details]
the patch

r=me

Please add a test for wrong prototype case.
Comment 6 Filip Pizlo 2012-06-25 23:34:07 PDT
(In reply to comment #5)
> (From update of attachment 149434 [details])
> r=me
> 
> Please add a test for wrong prototype case.

Thanks, will do!
Comment 7 Filip Pizlo 2012-06-26 12:42:46 PDT
Landed with tests in http://trac.webkit.org/changeset/121280