Bug 139196

Summary: operationPutById's can potentially generate code for an out of date structure
Product: WebKit Reporter: Matthew Mirman <mmirman>
Component: JavaScriptCoreAssignee: Matthew Mirman <mmirman>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, fpizlo, ggaren, kling, mmirman
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 139424    
Bug Blocks:    
Attachments:
Description Flags
operationPutByIds fix
none
operationPutByIds fix none

Description Matthew Mirman 2014-12-02 14:07:50 PST
Similar to how operationGetByIdBuildList could have done so as seen in https://bugs.webkit.org/show_bug.cgi?id=136961
The fix will be different since the slot can not be generated separately from the put.

Patch forthcoming.
Comment 1 Matthew Mirman 2014-12-02 14:40:07 PST
Created attachment 242451 [details]
operationPutByIds fix
Comment 2 Filip Pizlo 2014-12-02 14:47:34 PST
Comment on attachment 242451 [details]
operationPutByIds fix

Can you add a test that would fail without your patch?
Comment 3 Matthew Mirman 2014-12-04 13:35:46 PST
Created attachment 242584 [details]
operationPutByIds fix

Adds a test that fails without the patch.
Comment 4 WebKit Commit Bot 2014-12-08 15:10:48 PST
Comment on attachment 242584 [details]
operationPutByIds fix

Clearing flags on attachment: 242584

Committed r176979: <http://trac.webkit.org/changeset/176979>
Comment 5 WebKit Commit Bot 2014-12-08 15:10:52 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Dean Jackson 2014-12-08 17:02:03 PST
I think this broke some JS tests:

https://build.webkit.org/builders/Apple%20Yosemite%20Release%20WK2%20%28Tests%29/builds/1158
Comment 7 WebKit Commit Bot 2014-12-08 17:21:40 PST
Re-opened since this is blocked by bug 139424
Comment 8 Matthew Mirman 2014-12-10 11:40:42 PST
Committed a patch similar to the reviewed patch https://bug-139196-attachments.webkit.org/attachment.cgi?id=242584 but without the failing test.

Committed r176979:  http://trac.webkit.org/changeset/177083
Comment 9 Matthew Mirman 2014-12-10 11:59:13 PST
Test added from the patch https://bugs.webkit.org/attachment.cgi?id=242584&action=edit is now included in <https://bugs.webkit.org/show_bug.cgi?id=139500>