Bug 102327

Summary: Given a PutById or GetById with a proven structure, the DFG should be able to emit a PutByOffset or GetByOffset instead
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, ggaren, mark.lam, mhahnenberg, msaboff, oliver, sam, webkit-ews
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 102326, 102445    
Bug Blocks:    
Attachments:
Description Flags
work in progress
none
still working on it
none
the patch mhahnenberg: review+, webkit-ews: commit-queue-

Filip Pizlo
Reported 2012-11-14 21:28:32 PST
This will be fun.
Attachments
work in progress (16.82 KB, patch)
2012-11-15 23:38 PST, Filip Pizlo
no flags
still working on it (31.32 KB, patch)
2012-11-16 13:21 PST, Filip Pizlo
no flags
the patch (34.11 KB, patch)
2012-11-16 17:56 PST, Filip Pizlo
mhahnenberg: review+
webkit-ews: commit-queue-
Filip Pizlo
Comment 1 2012-11-15 23:38:22 PST
Created attachment 174615 [details] work in progress
Filip Pizlo
Comment 2 2012-11-16 13:21:25 PST
Created attachment 174749 [details] still working on it
Filip Pizlo
Comment 3 2012-11-16 17:56:37 PST
Created attachment 174789 [details] the patch
Early Warning System Bot
Comment 4 2012-11-16 18:08:35 PST
Early Warning System Bot
Comment 5 2012-11-16 18:12:10 PST
Comment on attachment 174789 [details] the patch Attachment 174789 [details] did not pass qt-wk2-ews (qt): Output: http://queues.webkit.org/results/14860470
Mark Hahnenberg
Comment 6 2012-11-16 18:36:28 PST
Comment on attachment 174789 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=174789&action=review r=me with build fixes. > Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:169 > + // Now before we do anything else, push the CFA forward over the PutById Should this be "...over the GetById" instead?
EFL EWS Bot
Comment 7 2012-11-16 20:18:51 PST
Filip Pizlo
Comment 8 2012-11-17 00:00:59 PST
(In reply to comment #6) > (From update of attachment 174789 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=174789&action=review > > r=me with build fixes. > > > Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:169 > > + // Now before we do anything else, push the CFA forward over the PutById > > Should this be "...over the GetById" instead? Yup! Thanks for catching it!
Filip Pizlo
Comment 9 2012-11-17 00:38:29 PST
Note You need to log in before you can comment on or make changes to this bug.