Bug 83992

Summary: DFG should have out-of-line slow paths
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 83987    
Bug Blocks:    
Attachments:
Description Flags
it sort of compiles
none
defoobared the changelog
none
it works but not on 32-bit
webkit-ews: commit-queue-
I think it works
buildbot: commit-queue-
fixing style/build errors
none
the patch oliver: review+

Description Filip Pizlo 2012-04-14 20:07:57 PDT
This is a work in progress.
Comment 1 Filip Pizlo 2012-04-14 20:13:43 PDT
Created attachment 137227 [details]
it sort of compiles

Work in progress
Comment 2 Filip Pizlo 2012-04-14 20:16:36 PDT
Created attachment 137228 [details]
defoobared the changelog

had to convince emacs to not make random unnecessary and incorrect changes to the charset of the ChangeLog
Comment 3 Filip Pizlo 2012-04-15 01:37:04 PDT
Created attachment 137231 [details]
it works but not on 32-bit

sub 1% speed-ups.  yay.
Comment 4 WebKit Review Bot 2012-04-15 01:39:05 PDT
Attachment 137231 [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/DFGSlowPathGenerator.h:64:  The parameter name "jit" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 1 in 11 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Early Warning System Bot 2012-04-15 01:41:32 PDT
Comment on attachment 137231 [details]
it works but not on 32-bit

Attachment 137231 [details] did not pass qt-wk2-ews (qt):
Output: http://queues.webkit.org/results/12405650
Comment 6 Early Warning System Bot 2012-04-15 01:43:03 PDT
Comment on attachment 137231 [details]
it works but not on 32-bit

Attachment 137231 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/12408543
Comment 7 Build Bot 2012-04-15 01:51:24 PDT
Comment on attachment 137231 [details]
it works but not on 32-bit

Attachment 137231 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/12406581
Comment 8 Filip Pizlo 2012-04-15 14:50:04 PDT
Created attachment 137250 [details]
I think it works

It appears to work, but I still have a bunch more tests to run to be sure.  I will mark r? when https://bugs.webkit.org/show_bug.cgi?id=83987 is resolved and when I finish doing the due diligence.
Comment 9 WebKit Review Bot 2012-04-15 14:53:36 PDT
Attachment 137250 [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/DFGSlowPathGenerator.h:64:  The parameter name "jit" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 1 in 13 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 10 Build Bot 2012-04-15 15:25:08 PDT
Comment on attachment 137250 [details]
I think it works

Attachment 137250 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/12412034
Comment 11 Filip Pizlo 2012-04-15 18:11:31 PDT
Created attachment 137259 [details]
fixing style/build errors
Comment 12 Filip Pizlo 2012-04-16 16:35:46 PDT
Created attachment 137428 [details]
the patch
Comment 13 Oliver Hunt 2012-04-16 16:58:23 PDT
Comment on attachment 137428 [details]
the patch

View in context: https://bugs.webkit.org/attachment.cgi?id=137428&action=review

> Source/JavaScriptCore/dfg/DFGSilentRegisterSavePlan.h:79
> +    SilentRegisterSavePlan(SilentSpillAction spillAction,

die emacs die
Comment 14 Filip Pizlo 2012-04-16 17:46:17 PDT
(In reply to comment #13)
> (From update of attachment 137428 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=137428&action=review
> 
> > Source/JavaScriptCore/dfg/DFGSilentRegisterSavePlan.h:79
> > +    SilentRegisterSavePlan(SilentSpillAction spillAction,
> 
> die emacs die

the emacs the?
Comment 15 Filip Pizlo 2012-04-17 17:34:34 PDT
Landed in http://trac.webkit.org/changeset/114472
Comment 16 Filip Pizlo 2012-04-18 13:37:54 PDT
Build fix in http://trac.webkit.org/changeset/114553
Comment 17 Filip Pizlo 2012-05-18 13:43:31 PDT
Marged (with build fix) in http://trac.webkit.org/changeset/117620