Bug 245871

Summary: [JSC][ARMv7] Fix clang compiler errors Constexpr if with a non-bool condition
Product: WebKit Reporter: Pablo Saavedra <psaavedra>
Component: JavaScriptCoreAssignee: Pablo Saavedra <psaavedra>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Unspecified   

Description Pablo Saavedra 2022-09-30 03:22:02 PDT
SSIA:

Errors:

In file included from JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-1.cpp:5:
sources/wpewebkit/Source/JavaScriptCore/jit/CCallHelpers.cpp:110:19: error: constexpr if condition evaluates to 24, which cannot be narrowed to type 'bool' [-Wc++11-narrowing]
    if constexpr (maxFrameExtentForSlowPathCall)
                  ^
sources/wpewebkit/Source/JavaScriptCore/jit/CCallHelpers.cpp:117:19: error: constexpr if condition evaluates to 24, which cannot be narrowed to type 'bool' [-Wc++11-narrowing]
    if constexpr (maxFrameExtentForSlowPathCall)
Comment 1 Pablo Saavedra 2022-09-30 03:26:02 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4852
Comment 2 EWS 2022-10-01 22:16:31 PDT
Committed 255071@main (d2e27125bbe7): <https://commits.webkit.org/255071@main>

Reviewed commits have been landed. Closing PR #4852 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-10-01 22:17:17 PDT
<rdar://problem/100664480>