Bug 191012 - Add support for GetStack FlushedDouble
Summary: Add support for GetStack FlushedDouble
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tadeu Zagallo
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-10-28 05:51 PDT by Tadeu Zagallo
Modified: 2018-10-29 08:46 PDT (History)
7 users (show)

See Also:


Attachments
Patch (3.07 KB, patch)
2018-10-28 05:54 PDT, Tadeu Zagallo
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews106 for mac-sierra-wk2 (2.95 MB, application/zip)
2018-10-28 07:08 PDT, EWS Watchlist
no flags Details
Patch for landing (3.06 KB, patch)
2018-10-29 05:32 PDT, Tadeu Zagallo
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-cq-01 for mac-sierra (2.40 MB, application/zip)
2018-10-29 06:34 PDT, WebKit Commit Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tadeu Zagallo 2018-10-28 05:51:07 PDT
LowerDFGToB3::compileGetStack assumed that we would not emit GetStack for doubles, but it turns out it may arise from the PutStack sinking phase: if we sink a PutStack into a successor block, other predecessors will emit a GetStack followed by a Upsilon.
Comment 1 Tadeu Zagallo 2018-10-28 05:53:50 PDT
<rdar://problem/45265141>
Comment 2 Tadeu Zagallo 2018-10-28 05:54:48 PDT
Created attachment 353255 [details]
Patch
Comment 3 EWS Watchlist 2018-10-28 07:08:50 PDT
Comment on attachment 353255 [details]
Patch

Attachment 353255 [details] did not pass mac-wk2-ews (mac-wk2):
Output: https://webkit-queues.webkit.org/results/9758572

New failing tests:
http/wpt/beacon/cors/cors-redirect-failure.html
Comment 4 EWS Watchlist 2018-10-28 07:08:52 PDT
Created attachment 353257 [details]
Archive of layout-test-results from ews106 for mac-sierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106  Port: mac-sierra-wk2  Platform: Mac OS X 10.12.6
Comment 5 Saam Barati 2018-10-28 10:54:21 PDT
Comment on attachment 353255 [details]
Patch

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

r=me

> JSTests/stress/get-stack-double.js:1
> +function bar(n)

I think you need to run this with "--maximumFunctionForCallInlineCandidateInstructionCount=1000" based on the Radar.

To do this, I think you can add this comment to the top of this file:

// @runDefault("--maximumFunctionForCallInlineCandidateInstructionCount=1000")
Comment 6 Tadeu Zagallo 2018-10-28 11:12:46 PDT
Comment on attachment 353255 [details]
Patch

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

>> JSTests/stress/get-stack-double.js:1
>> +function bar(n)
> 
> I think you need to run this with "--maximumFunctionForCallInlineCandidateInstructionCount=1000" based on the Radar.
> 
> To do this, I think you can add this comment to the top of this file:
> 
> // @runDefault("--maximumFunctionForCallInlineCandidateInstructionCount=1000")

It does crash without the flag, should I add it anyway to mirror the radar?
Comment 7 Saam Barati 2018-10-28 13:15:34 PDT
(In reply to Tadeu Zagallo from comment #6)
> Comment on attachment 353255 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=353255&action=review
> 
> >> JSTests/stress/get-stack-double.js:1
> >> +function bar(n)
> > 
> > I think you need to run this with "--maximumFunctionForCallInlineCandidateInstructionCount=1000" based on the Radar.
> > 
> > To do this, I think you can add this comment to the top of this file:
> > 
> > // @runDefault("--maximumFunctionForCallInlineCandidateInstructionCount=1000")
> 
> It does crash without the flag, should I add it anyway to mirror the radar?

Nope. Ignore me. I thought it required the flag.
Comment 8 Tadeu Zagallo 2018-10-29 05:32:49 PDT
Created attachment 353283 [details]
Patch for landing
Comment 9 WebKit Commit Bot 2018-10-29 06:34:16 PDT
Comment on attachment 353283 [details]
Patch for landing

Rejecting attachment 353283 [details] from commit-queue.

New failing tests:
http/wpt/css/css-animations/start-animation-001.html
Full output: https://webkit-queues.webkit.org/results/9767152
Comment 10 WebKit Commit Bot 2018-10-29 06:34:17 PDT
Created attachment 353285 [details]
Archive of layout-test-results from webkit-cq-01 for mac-sierra

The attached test failures were seen while running run-webkit-tests on the commit-queue.
Bot: webkit-cq-01  Port: mac-sierra  Platform: Mac OS X 10.12.6
Comment 11 WebKit Commit Bot 2018-10-29 08:46:22 PDT
Comment on attachment 353283 [details]
Patch for landing

Clearing flags on attachment: 353283

Committed r237553: <https://trac.webkit.org/changeset/237553>
Comment 12 WebKit Commit Bot 2018-10-29 08:46:23 PDT
All reviewed patches have been landed.  Closing bug.