Bug 237931

Summary: Remove unused directory local variable in pas_enumerate_segregated_heaps.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: bmallocAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch. none

Description Mark Lam 2022-03-15 16:14:19 PDT
Also remove the call to pas_unwrap_local_view_cache_node().  It doesn't add any value.  The only thing of substance that it does is a PAS_ASSERT that turns out to be redundant because pas_enumerate_segregated_heaps() already asserts the same thing before calling pas_unwrap_local_view_cache_node().
Comment 1 Mark Lam 2022-03-15 16:19:26 PDT
Created attachment 454769 [details]
proposed patch.
Comment 2 Geoffrey Garen 2022-03-15 16:25:26 PDT
Comment on attachment 454769 [details]
proposed patch.

r=me
Comment 3 Mark Lam 2022-03-15 19:59:26 PDT
Comment on attachment 454769 [details]
proposed patch.

Thanks for the review.
Comment 4 EWS 2022-03-15 20:52:13 PDT
Committed r291328 (248467@main): <https://commits.webkit.org/248467@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 454769 [details].
Comment 5 Radar WebKit Bug Importer 2022-03-15 20:53:17 PDT
<rdar://problem/90348452>