Bug 206329 - Try to simplify the template deduction used by callOperation in DFGSpeculativeJIT
Summary: Try to simplify the template deduction used by callOperation in DFGSpeculativ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Robin Morisset
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-15 17:42 PST by Robin Morisset
Modified: 2020-01-17 09:47 PST (History)
8 users (show)

See Also:


Attachments
Patch (15.29 KB, patch)
2020-01-15 17:46 PST, Robin Morisset
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Morisset 2020-01-15 17:42:40 PST
Might slightly help compile times and be more readable to boot.
Comment 1 Robin Morisset 2020-01-15 17:46:22 PST
Created attachment 387879 [details]
Patch
Comment 2 Keith Miller 2020-01-15 17:51:19 PST
Comment on attachment 387879 [details]
Patch

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

r=me with question.

> Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h:-954
> -    callOperation(OperationType operation, NoResultTag, Args... args)

Does anyone use NoResultTag now? If not, we should just get rid of it.
Comment 3 Robin Morisset 2020-01-15 17:52:35 PST
(In reply to Keith Miller from comment #2)
> Comment on attachment 387879 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=387879&action=review
> 
> r=me with question.
> 
> > Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h:-954
> > -    callOperation(OperationType operation, NoResultTag, Args... args)
> 
> Does anyone use NoResultTag now? If not, we should just get rid of it.

It is still used by various other functions. It is not clear whether it can also be removed from those.
Comment 4 WebKit Commit Bot 2020-01-16 16:06:40 PST
Comment on attachment 387879 [details]
Patch

Clearing flags on attachment: 387879

Committed r254717: <https://trac.webkit.org/changeset/254717>
Comment 5 WebKit Commit Bot 2020-01-16 16:06:42 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2020-01-16 16:07:45 PST
<rdar://problem/58662089>
Comment 7 Saam Barati 2020-01-16 23:34:48 PST
Did it make compile times faster?
Comment 8 Robin Morisset 2020-01-17 09:47:54 PST
(In reply to Saam Barati from comment #7)
> Did it make compile times faster?

I was hoping that it would, but it apparently did not (or at least not significantly):
https://perf.safari.apple.com/v3/#/charts?since=1578678298555&paneList=((1117-4968-null-null-(5-2.5-500))-(1117-4990-null-null-(5-2.5-500)))