Bug 139808

Summary: REGRESSION(174226): Captured arguments in a using function compiled by the DFG have the initial value when the closure was invoked
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, rniwa
Priority: P2 Keywords: InRadar
Version: 312.x   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
buildbot: commit-queue-
Archive of layout-test-results from ews102 for mac-mountainlion
none
Archive of layout-test-results from ews107 for mac-mountainlion-wk2
none
Updated patch with copy-paste error fixed oliver: review+

Description Michael Saboff 2014-12-18 21:50:16 PST
A DFG compiled function that accesses a captured argument from the closure treats that argument as a constant with the initial value passed into the closure.

<rdar://problem/19202075>
Comment 1 Michael Saboff 2014-12-18 23:07:47 PST
Created attachment 243544 [details]
Patch
Comment 2 Build Bot 2014-12-18 23:49:26 PST
Comment on attachment 243544 [details]
Patch

Attachment 243544 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/5546179676864512

New failing tests:
js/regress-139808.html
Comment 3 Build Bot 2014-12-18 23:49:28 PST
Created attachment 243545 [details]
Archive of layout-test-results from ews102 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 4 Build Bot 2014-12-18 23:51:44 PST
Comment on attachment 243544 [details]
Patch

Attachment 243544 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/5159540278427648

New failing tests:
js/regress-139808.html
Comment 5 Build Bot 2014-12-18 23:51:46 PST
Created attachment 243546 [details]
Archive of layout-test-results from ews107 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews107  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 6 Michael Saboff 2014-12-19 07:40:24 PST
Created attachment 243552 [details]
Updated patch with copy-paste error fixed
Comment 7 Michael Saboff 2014-12-19 10:48:27 PST
Committed r177578: <http://trac.webkit.org/changeset/177578>