Bug 233753

Summary: [libpas] Define and use PAS_RISCV
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: fpizlo, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Zan Dobersek 2021-12-02 01:03:21 PST
[libpas] Define and use PAS_RISCV
Comment 1 Zan Dobersek 2021-12-02 01:03:38 PST
Created attachment 445688 [details]
Patch
Comment 2 Zan Dobersek 2021-12-02 03:11:24 PST
Created attachment 445698 [details]
Patch
Comment 3 Yusuke Suzuki 2021-12-02 07:13:02 PST
Comment on attachment 445698 [details]
Patch

r=me
Comment 4 EWS 2021-12-02 07:46:11 PST
Committed r286429 (244775@main): <https://commits.webkit.org/244775@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 445698 [details].
Comment 5 Radar WebKit Bug Importer 2021-12-02 07:47:26 PST
<rdar://problem/85970966>
Comment 6 Filip Pizlo 2021-12-02 13:39:53 PST
Comment on attachment 445698 [details]
Patch

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

> Source/bmalloc/libpas/src/libpas/pas_segregated_page_inlines.h:372
> -#if !PAS_ARM
> +#if !PAS_ARM && !PAS_RISCV

This code should probably really be saying "#if PAS_X86".

But it's fine for now since there are so few places where we have to worry about it.