Bug 193652

Summary: DoesGC rule is wrong for nodes with BigIntUse
Product: WebKit Reporter: Caio Lima <ticaiolima>
Component: JavaScriptCoreAssignee: Caio Lima <ticaiolima>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ews-watchlist, keith_miller, mark.lam, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Benchmarks
none
Patch none

Caio Lima
Reported 2019-01-21 04:50:59 PST
...
Attachments
Patch (4.84 KB, patch)
2019-01-21 11:58 PST, Caio Lima
no flags
Benchmarks (95.75 KB, text/plain)
2019-01-21 12:23 PST, Caio Lima
no flags
Patch (4.80 KB, patch)
2019-01-21 12:30 PST, Caio Lima
no flags
Caio Lima
Comment 1 2019-01-21 11:58:35 PST
Saam Barati
Comment 2 2019-01-21 12:12:02 PST
Comment on attachment 359701 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=359701&action=review r=me > Source/JavaScriptCore/dfg/DFGDoesGC.cpp:388 > + return node->binaryUseKind() == BigIntUse; Might as well return true here. Because the clobberize check above, we won’t reach here. However, it’s nicer just to say true IMO
Caio Lima
Comment 3 2019-01-21 12:23:31 PST
Created attachment 359704 [details] Benchmarks Patch seems to be perf neutral on macOS x86_64.
Caio Lima
Comment 4 2019-01-21 12:28:57 PST
Comment on attachment 359701 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=359701&action=review Thank you for the review! >> Source/JavaScriptCore/dfg/DFGDoesGC.cpp:388 >> + return node->binaryUseKind() == BigIntUse; > > Might as well return true here. Because the clobberize check above, we won’t reach here. However, it’s nicer just to say true IMO Makes sense. Changed.
Caio Lima
Comment 5 2019-01-21 12:30:59 PST
WebKit Commit Bot
Comment 6 2019-01-21 15:57:31 PST
Comment on attachment 359705 [details] Patch Clearing flags on attachment: 359705 Committed r240244: <https://trac.webkit.org/changeset/240244>
WebKit Commit Bot
Comment 7 2019-01-21 15:57:32 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2019-01-21 15:58:28 PST
Note You need to log in before you can comment on or make changes to this bug.